Generative AI with Python The Developer’s Guide to Pretrained LLMs, Vector Databases, Retrieval Augmented Generation, and Agentic Systems
ISBN 978-1-4932-2690-0 475 pages, 2025
E-book formats: EPUB, PDF, online
ISBN 978-1-4932-2691-7 475 pages, 2025, Print edition paperback
E-book formats: EPUB, PDF, online
ISBN 978-1-4932-2692-4
- Work with pretrained LLM and NLP models on Hugging Face and LangChain
- Create vector databases and implement retrieval-augmented generation
- Add an agentic system using frameworks such as crewAI and AutoGen
In this book, you'll learn about:
-
Large Language Models
Set up LLMs and then learn how to apply your models using Python. Walk through the available tools: OpenAI, Meta’s Llama model family, Mistral models via Groq, and open-source LLMs. Work with prompt templates, chains, and more.
-
Vector Databases
Create and use vector databases to store and query large collections of documents. Master all aspects of the pipeline, from importing a raw document, to processing it, to storing it in a vector database.
-
Retrieval Augmented Generation
Leverage large-scale pretrained language models and external knowledge sources with retrieval-augmented generation. Retrieve relevant information from large corpora, integrate it into the generation process, and evaluate the quality and diversity of the generated texts.
-
Agentic Systems
Use AI models to build agents that act autonomously to achieve their goals. Discover the different Python packages for this task: crewAI, AutoGen, and LangChain.
Highlights include:
-
Natural language processing (NLP) models
-
Large language models (LLMs)
-
Pretrained models
-
Prompt engineering
-
Vector databases
-
Retrieval-augmented generation (RAG)
-
Agentic systems
-
OpenAI
-
LangChain
-
Hugging Face
-
crewAI
-
AutoGen
You may also like:
-
AI-Assisted Coding –
Practical Guide for Software Development395 pages, paperback
Generative AI is transforming software development. Stay on the cutting edge with this guide to AI pair programming! Learn how to make the most of modern tools like ChatGPT and GitHub Copilot to improve your coding. Automate refactoring, debugging, and … More about the bookapprox. $44.99
Pre-order now
Available on 03/26/2025E-book | Print edition | Bundle -
Developing AI Applications –
An Introduction402 pages, paperback
It’s time to get practical about AI. Move past playing around with chatbots and plugging your data into others’ applications—learn how to create your own! Walk through key AI methods like decision trees, convolutional layers, cluster analysis, and more. Get … More about the bookfrom $39.99
Available
E-book | Print edition | Bundle -
Introducing Predictive Maintenance with SAP Predictive Asset Insights
71 pages
How soon will your equipment need repairs? You'll learn how to use SAP Predictive Asset Insights to monitor the health of your equipment in real time and schedule maintenance when it is truly needed. Start by diving into key master … More about the book$29.99
Available
E-Bite