The Leanpub 60 Day 100% Happiness Guarantee
Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.
See full terms...
Minimum price
$7.99
$9.99
About the Book
Gli assistenti basati su modelli linguistici sembrano funzionare al primo tentativo, poi si rompono in produzione: rispondono con i dati sbagliati, si lasciano convincere da un allegato non fidato a rivelare le proprie istruzioni, esauriscono un budget di token che nessuno aveva previsto, o eseguono un'azione irreversibile senza che nessuno l'abbia approvata.
Questo libro non è un'introduzione a un framework: è un percorso ordinato attraverso le decisioni che ogni sistema basato su LLM deve affrontare prima di reggere in produzione, dalla gestione dei token nella prima chiamata API fino agli audit trail multi-utente dell'ultimo capitolo. Nelle quattro sezioni Fondamenta, Controllo, Architettura, Produzione si costruiscono via via: prompting come disciplina misurabile, output strutturato e affidabile, difese contro input non fidato e prompt injection, flussi di approvazione umana per le azioni rischiose, resilienza e observability, RAG, pattern agentici, MCP, orchestrazione e routing dei modelli, testing ed evals, contenimento dei costi, sicurezza a scala ed etica/legale.
Ogni principio è illustrato con codice reale scritto con Laravel AI, applicato in modo continuo a un unico caso di studio: un assistente di finanza personale che legge estratti conto, categorizza le spese, propone azioni finanziarie e chiede conferma prima di eseguirle. Laravel AI è lo strumento usato per mostrare le idee, non l'argomento del libro: i principi restano validi anche cambiando framework o provider del modello.
Per chi deve portare in produzione un sistema basato su LLM e cerca un metodo, non solo un tutorial.
About the Author
Ph.D. in Computer Engineering, Web Developer, and Data Scientist with a strong passion for digital technologies applied to various fields, including machine learning, electronics, computer vision, and digital performing arts. International tech trainer and communicator. Currently, he is Identity Manager at the University of Palermo.
Click the buttons to get the free sample in PDF or EPUB, or read the sample online here
Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.
See full terms...
We pay 80% royalties on purchases of $7.99 or more, and 80% royalties minus a 50 cent flat fee on purchases between $0.99 and $7.98. You earn $8 on a $10 sale, and $16 on a $20 sale. So, if we sell 5000 non-refunded copies of your book for $20, you'll earn $80,000.
(Yes, some authors have already earned much more than that on Leanpub.)
Learn more about writing on Leanpub
If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).
Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.
Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.
Learn more about Leanpub's ebook formats and where to read them
You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!
Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.
Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.