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::$_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::$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
Eseguite in locale un modello che vi aiuta a sviluppare codice: cos'è Tabby

Eseguite in locale un modello che vi aiuta a sviluppare codice: cos'è Tabby

L'intelligenza artificiale sta rivoluzionando lo sviluppo del codice: uno strumento come Tabby, gratuito e open source, offre una soluzione innovativa per ottimizzare il flusso di lavoro.

L’intelligenza artificiale (AI) sta trasformando radicalmente il panorama dello sviluppo del codice di programmazione, offrendo nuove possibilità per ottimizzare e velocizzare il lavoro degli sviluppatori. L’automazione del completamento del codice, l’identificazione degli errori e la generazione di soluzioni ottimali sono solo alcune delle applicazioni che l’AI ha introdotto nel processo di sviluppo. Gli stessi chatbot sono diventati partner di primo piano nello sviluppo software.

In un mondo sempre più competitivo, l’adozione dell’intelligenza artificiale generativa nel software development rappresenta un vantaggio cruciale, consentendo ai team di concentrarsi su aspetti più strategici e creativi del loro lavoro, lasciando alle macchine il compito di gestire le operazioni più ripetitive e complesse.

Tabby è l’assistente per lo sviluppo software open source che funziona in locale

Di solito, tuttavia, per avvalersi di uno strumento AI capace di coadiuvare le attività di scrittura del codice è necessario affidarsi a strumenti che funzionano sul cloud e che quindi raccolgono tutte le informazioni trasmesse da ogni singolo utente.

Tabby rappresenta una soluzione all’avanguardia nel campo degli assistenti di codifica AI: si tratta di una soluzione open source concepita per essere auto-ospitata.

L’idea alla base di Tabby è fornire ai team di sviluppo la possibilità di creare e gestire un server per il completamento del codice alimentato da LLM (Large Language Models) in modo diretto, senza la necessità di soluzioni esterne o strumenti preconfigurati.

Completamente gratuito e aperto, Tabby può essere liberamente adattato alle proprie necessità. Inoltre, essendo compatibile con i principali modelli LLM per la codifica, come CodeLlama, StarCoder e CodeGen, offre agli sviluppatori la flessibilità di scegliere i modelli più adatti al proprio ambiente di sviluppo.

La capacità di combinare vari modelli senza dover implementare soluzioni complesse, lo rende una risorsa potente per i team di sviluppo di ogni dimensione.

Tabby, assistente AI per la scrittura di codice di programmazione

Ottimizzazione del flusso di lavoro

A differenza di molte altre soluzioni di completamento del codice, che trattano il completamento come un semplice livello posto al di sopra degli LLM, Tabby adotta un approccio end-to-end.

L’ottimizzazione non si limita alla gestione dei modelli LLM, ma si estende agli IDE (Integrated Development Environment), cosa fondamentale per ottenere prestazioni ottimali. Con un meccanismo di caching adattivo, Tabby garantisce completamenti rapidi, spesso in meno di un secondo.

La stessa interfaccia utente di Tabby è progettata per essere intuitiva e accessibile, favorendo un’esperienza di sviluppo senza interruzioni. Inoltre, il progetto punta a coinvolgere una comunità di sviluppatori, permettendo loro di contribuire facilmente al miglioramento delle prestazioni del sistema.

Come usare Tabby per lo sviluppo software con l’AI

Nella documentazione ufficiale, si trovano tutte le indicazioni per installare e usare Tabby. Il software è infatti compatibile con Windows, Linux e macOS.

Il modo più semplice per iniziare a usare Tabby è creare un server usando il container Docker fornito dagli sviluppatori. Per procedere, indipendentemente dalla piattaforma in uso, è necessario verificare di aver installato Docker e disporre di una GPU adeguata per eseguire il modello:

docker run -it \
--gpus all -p 8080:8080 -v $HOME/.tabby:/data \
tabbyml/tabby \
serve --model StarCoder-1B --device cuda --chat-model Qwen2-1.5B-Instruct

Il comando espone la porta 8080 per accedere al server di Tabby, mappa una directory locale per memorizzare i dati e infine utilizza l’opzione serve --model StarCoder-1B --device cuda --chat-model Qwen2-1.5B-Instruct che permette di specificare il modello da usare, la GPU e il modello.

L’interfaccia di Tabby

Una volta avviato, Tabby fornisce un’interfaccia API OpenAPI che può essere facilmente integrata con le infrastrutture esistenti, come IDE o editor di codice basati su cloud.

Per iniziare a interagire con Tabby, è possibile utilizzare la demo disponibile sul sito ufficiale e utilizzare l’API per avanzare richieste di codifica. È possibile interagire con il modello di chat e con le altre funzionalità di Tabby usando chiamate API dirette.

Maggiori informazioni sono reperibili anche nel repository GitHub ufficiale.

Credit immagine in apertura: iStock.com – MTStock Studio

Ti consigliamo anche

Link copiato negli appunti