Deprecated: Creation of dynamic property Timber\Site::$pingback is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Site.php on line 180

Deprecated: Creation of dynamic property Timber\User::$name is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/User.php on line 118

Deprecated: Creation of dynamic property Timber\Post::$has_disclaimer is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_edit_lock is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_edit_last is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$onesignal_meta_box_present is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$onesignal_send_notification is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$onesignal_modify_title_and_content is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$onesignal_notification_custom_heading is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$onesignal_notification_custom_content is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$tipologia is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_tipologia is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$attributi is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_attributi is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$in_evidenza_newsletter is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_in_evidenza_newsletter is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$inviato_in_newsletter is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_inviato_in_newsletter is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$fonte is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_fonte is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$fonte_url is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_fonte_url is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_yoast_wpseo_primary_category is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_yoast_wpseo_primary_blz_affiliation_attributes is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_yoast_wpseo_primary_content_type is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_yoast_wpseo_primary_attributes is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_yoast_wpseo_primary_speciali is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_yoast_wpseo_focuskw is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_yoast_wpseo_metadesc is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_yoast_wpseo_linkdex is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_yoast_wpseo_content_score is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_yoast_wpseo_focuskeywords is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_yoast_wpseo_keywordsynonyms is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_yoast_wpseo_estimated-reading-time-minutes is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_yoast_wpseo_wordproof_timestamp is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_thumbnail_id is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$response_body is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$status is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_yoast_indexnow_last_ping is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_oembed_925ff45dbbec071174e0a3d2134c402e is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_oembed_time_925ff45dbbec071174e0a3d2134c402e is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_oembed_fcfe9e1572d3af0b95e37238222f9ef8 is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_oembed_time_fcfe9e1572d3af0b95e37238222f9ef8 is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$post_date_gmt is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$comment_status is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$ping_status is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$post_password is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$post_name is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$to_ping is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$pinged is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$post_modified is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$post_modified_gmt is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$post_content_filtered is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$guid is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$menu_order is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$post_mime_type is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$comment_count is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$filter is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71
Desktop e cartella Download sono un vero caos? Mettete ordine con LlamaFS

Desktop e cartella Download sono un vero caos? Mettete ordine con LlamaFS

Uno strumento basato sull'intelligenza artificiale che aiuta a mettere ordine nel contenuto di qualunque cartella, a partire da Desktop e Download.

Provate ad aprire il contenuto della cartella Download di Windows oppure del Desktop. Nella stragrande maggioranza dei casi, probabilmente, queste due locazioni di memoria ospitano centinaia di elementi senza alcun tipo di organizzazione sensata. Gestire i file salvati sul proprio PC e assegnare loro un nome esplicativo, sono compiti noiosi. Si tratta di attività che spesso si mettono da parte tanto che i file tendono ad accumularsi in modo disordinato. LlamaFS è un progetto open source, condiviso su GitHub, che si prefigge come obiettivo quello di fare un po’ di ordine.

Organizzare i file con LlamaFS: le cartelle Desktop e Download tornano in ordine

Gli autori del progetto LlamaFS dimostrano come l’intelligenza artificiale possa essere messa al servizio del lavoro di tutti i giorni. Spesso, infatti, ci troviamo a rinominare file manualmente, cercando di assegnare loro un ordine logico. Man mano che si scaricano nuovi file o, per comodità, si copiano elementi sul Desktop, gli elementi tendono ad accumularsi.

Si rimanda sempre il momento in cui fare un po’ di pulizia e alla fine si giunge al momento in cui non si riesce più a trovare ciò che serve.

In un altro articolo ci siamo chiesti se tante icone sul Desktop possano rallentare il PC. La risposta breve è “no”, almeno da diverse versioni di Windows a questa parte. Semmai, come dicevamo in precedenza, un Desktop affollato non permette di individuare facilmente ciò che interessa e la soluzione consiste spesso nell’usare la ricerca di Windows. Se configurata correttamente, infatti, la ricerca di Windows permette di individuare i file che servono a partire dal loro nome ma consente di cercare informazioni memorizzate all’interno di essi (file Office e PDF compresi).

Due modalità di funzionamento

LlamaFS è studiato per rinominare e organizzare automaticamente i file. Supporta vari tipi di elementi, inclusi immagini (grazie all’integrazione con Moondream) e audio (attraverso Whisper). Prevede, inoltre, due diverse modalità di funzionamento:

  • Modalità Batch: Permette di condividere una cartella con LlamaFS. L’applicazione ne analizza in profondità il contenuto quindi propone una nuova struttura per i file, organizzandoli di conseguenza.
  • Modalità Watch: LlamaFS avvia un daemon che monitora una directory, intercettando tutte le operazioni effettuate a livello di file system. In questo caso, l’intelligenza artificiale impara dalle modifiche applicate di recente per opera dell’utente e “capisce” come rinominare i file. Ad esempio, se si crea una cartella per i documenti fiscali del 2024 e si inizia a spostarci dentro dei file, LlamaFS riconosce questo schema e salva automaticamente i file pertinenti nella stessa directory.

L’intelligenza artificiale esamina il contenuto di ciascun file e sviluppa una struttura articolata, assegnando il nome più pertinente a ciascun elemento. Può utilizzare il titolo del documento, il contenuto dell’immagine o altre informazioni utili a individuare a colpo d’occhio ciò che serve.

Elaborazione locale per allontanare i timori in materia di privacy

Passare i propri dati a un’intelligenza artificiale residente su un sistema remoto è quanto più di sconsiderato si possa fare sul versante della privacy e della tutela delle informazioni riservate. Grazie all’integrazione di Ollama, LlamaFS sfrutta modelli generativi scaricati ed eseguiti in ambito locale. In questo modo, neppure un byte di dati è trasferito verso server remoti e tutte le informazioni relative ai propri file restano custodite sul singolo dispositivo o nell’ambito della propria infrastruttura IT.

Uno degli aspetti più impressionanti di LlamaFS è la sua velocità. La maggior parte delle operazioni sui file in modalità Watch non richiedono più di 500 ms: ciò grazie alla cache intelligente che riscrive selettivamente le sezioni dell’indice basandosi su un set di informazioni il più possibile ridotto.

Come installare e usare LlamaFS

Lato backend, LlamaFS è sviluppato in Python, sfruttando il modello Llama 3 per esaminare il contenuto dei file dell’utente. L’interfaccia frontend, creata con Electron, è facile da usare: permette agli utenti di interagire con le strutture dei file suggerite prima di applicare le modifiche.

Per usare LlamaFS, è necessario aver installato sia Python 3.10 o superiore, sia il gestore di pacchetti pip. Come primo passo, è necessario clonare il repository:

git clone https://github.com/iyaja/llama-fs.git

Successivamente, basta portarsi – dalla finestra del terminale – nella cartella di LlamaFS quindi installare i requisiti per il funzionamento dell’applicazione:

pip install -r requirements.txt

Per avviare l’applicazione in locale utilizzando FastAPI (un moderno framework per la creazione di API basato su Python), è sufficiente eseguire il comando:

fastapi dev server.py

L’istruzione avvia il server di LlamaFS che, per impostazione predefinita, si pone in ascolto sulla porta 8000. L’API (Application Programming Interface) può essere interrogata utilizzando il comando curl e passando il percorso da esaminare come argomento. Ad esempio, per la cartella Download, si può usare la sintassi che segue:

curl -X POST http://127.0.0.1:8000 \
-H "Content-Type: application/json" \
-d '{"path": "/Users/<username>/Downloads/", "instruction": "string", "incognito": false}'

LlamaFS ha piani ambiziosi per il futuro. Oltre a migliorare ulteriormente l’organizzazione dei file, sono in fase di sviluppo funzionalità per trovare e rimuovere file vecchi o inutilizzati. Mettere le mani sul file system non è certamente una sfida da poco ma il team di LlamaFS ambisce a offrire un valido aiuto agli utenti, applicando le modifiche solo ed esclusivamente dopo aver acquisito il loro consenso.

Credit immagine in apertura: iStock.com – NicoElNino

Ti consigliamo anche

Link copiato negli appunti