Use LangChain to orchestrate LLMs and their components within applications
Grasp basic and advanced techniques of prompt engineering
Description
Building LLM Powered Applications delves into the fundamental concepts, cutting-edge technologies, and practical applications that LLMs offer, ultimately paving the way for the emergence of large foundation models (LFMs) that extend the boundaries of AI capabilities.
The book begins with an in-depth introduction to LLMs. We then explore various mainstream architectural frameworks, including both proprietary models (GPT 3.5/4) and open-source models (Falcon LLM), and analyze their unique strengths and differences. Moving ahead, with a focus on the Python-based, lightweight framework called LangChain, we guide you through the process of creating intelligent agents capable of retrieving information from unstructured data and engaging with structured data using LLMs and powerful toolkits. Furthermore, the book ventures into the realm of LFMs, which transcend language modeling to encompass various AI tasks and modalities, such as vision and audio.
Whether you are a seasoned AI expert or a newcomer to the field, this book is your roadmap to unlock the full potential of LLMs and forge a new era of intelligent machines.
Who is this book for?
Software engineers and data scientists who want hands-on guidance for applying LLMs to build applications. The book will also appeal to technical leaders, students, and researchers interested in applied LLM topics.
We don’t assume previous experience with LLM specifically. But readers should have core ML/software engineering fundamentals to understand and apply the content.
What you will learn
Explore the core components of LLM architecture, including encoder-decoder blocks and embeddings
Understand the unique features of LLMs like GPT-3.5/4, Llama 2, and Falcon LLM
Use AI orchestrators like LangChain, with Streamlit for the frontend
Get familiar with LLM components such as memory, prompts, and tools
Learn how to use non-parametric knowledge and vector databases
Understand the implications of LFMs for AI research and industry applications
Customize your LLMs with fine tuning
Learn about the ethical implications of LLM-powered applications
Excellent introduction to engineering LLM-based applications. Bummer that the code examples won't work with current langchain versions. Then again, fiddeling around with that framework is just another learning opportunity.
Subscriber review
Javier SoquesJul 04, 2024
5
Good learning resource for understanding LLMs
Feefo Verified review
dr tJun 01, 2024
5
As an advocate of LLMs, this looked like a book that I should read.The book is well-written, well-structured, and easy to read. In 13 chapters, it takes readers through fundamental concepts (e.g. transformers, backprop, embeddings), to practical applications (e.g. building a chatbot, search engines) and considerations (e.g. choosing an LLM, prompt engineering), ethical and responsible considerations, and also looks at the latest advancements in the field of gen AI.This reader found the chapter on Search and Recommendation Engines with LLMs most compelling. The chapter explores how large language models can improve recommendation systems through the use of embeddings and generative models, the reader also learns how to build their own recommendation system application, utilising state-of-the-art LLMs with LangChain as the framework. Fascinating stuff!In summary, if you work with LLMs this is a useful book that contains lot of useful knowledge and practical examples. Recommended.
Amazon Verified review
SakshamMay 25, 2024
5
One of the standout features of this book is its emphasis on real-world applications. The author shares numerous case studies and practical examples that highlight how LLMs can be used to create intelligent applications across various domains, from customer service chatbots to advanced content generation tools. These examples are not just technically informative but also thoughtfully chosen to demonstrate the potential for LLMs to enhance human productivity and creativity.
Valentina Alto is a Data Science Graduate who joined Microsoft Italy in 2020 as an Azure solution specialist. Since 2022, she has been focusing on data and AI workloads within the manufacturing and pharmaceutical industries. She has been working closely with system integrators on customer projects to deploy cloud architecture with a focus on Modern Data Platforms and AI-powered applications.
In June 2024, she moved to Microsoft Dubai as an AI App Tech Architect to focus more on AI-driven projects in the Middle East.
Since commencing her academic journey, she has been writing tech articles on statistics, machine learning, deep learning, and AI in various publications. She has authored several books on machine learning and large language models.
Where there is an eBook version of a title available, you can buy it from the book details for that title. Add either the standalone eBook or the eBook and print book bundle to your shopping cart. Your eBook will show in your cart as a product on its own. After completing checkout and payment in the normal way, you will receive your receipt on the screen containing a link to a personalised PDF download file. This link will remain active for 30 days. You can download backup copies of the file by logging in to your account at any time.
If you already have Adobe reader installed, then clicking on the link will download and open the PDF file directly. If you don't, then save the PDF file on your machine and download the Reader to view it.
Please Note: Packt eBooks are non-returnable and non-refundable.
Packt eBook and Licensing When you buy an eBook from Packt Publishing, completing your purchase means you accept the terms of our licence agreement. Please read the full text of the agreement. In it we have tried to balance the need for the ebook to be usable for you the reader with our needs to protect the rights of us as Publishers and of our authors. In summary, the agreement says:
You may make copies of your eBook for your own use onto any machine
You may not pass copies of the eBook on to anyone else
How can I make a purchase on your website?
If you want to purchase a video course, eBook or Bundle (Print+eBook) please follow below steps:
Register on our website using your email address and the password.
Search for the title by name or ISBN using the search option.
Select the title you want to purchase.
Choose the format you wish to purchase the title in; if you order the Print Book, you get a free eBook copy of the same title.
Proceed with the checkout process (payment to be made using Credit Card, Debit Cart, or PayPal)
Where can I access support around an eBook?
If you experience a problem with using or installing Adobe Reader, the contact Adobe directly.
To view the errata for the book, see www.packtpub.com/support and view the pages for the title you have.
To view your account details or to download a new copy of the book go to www.packtpub.com/account
Our eBooks are currently available in a variety of formats such as PDF and ePubs. In the future, this may well change with trends and development in technology, but please note that our PDFs are not Adobe eBook Reader format, which has greater restrictions on security.
You will need to use Adobe Reader v9 or later in order to read Packt's PDF eBooks.
What are the benefits of eBooks?
You can get the information you need immediately
You can easily take them with you on a laptop
You can download them an unlimited number of times
You can print them out
They are copy-paste enabled
They are searchable
There is no password protection
They are lower price than print
They save resources and space
What is an eBook?
Packt eBooks are a complete electronic version of the print edition, available in PDF and ePub formats. Every piece of content down to the page numbering is the same. Because we save the costs of printing and shipping the book to you, we are able to offer eBooks at a lower cost than print editions.
When you have purchased an eBook, simply login to your account and click on the link in Your Download Area. We recommend you saving the file to your hard drive before opening it.
For optimal viewing of our eBooks, we recommend you download and install the free Adobe Reader version 9.