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 392 pages, 2025
E-book formats: EPUB, PDF, online
ISBN 978-1-4932-2691-7 392 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 AG2
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, 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: loading a raw document, processing it, and storing it in your 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 frameworks for this task: LangGraph, AG2, CrewAI, OpenAI Agents, and Pydantic AI.
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
-
AG2
You may also like:
-
AI-Assisted Coding –
The 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 bookfrom $44.99
Available
E-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 -
Cybersecurity for SAP
455 pages, hardcover
Protect your SAP system from bad actors! Start by getting a thorough grounding in the why and what of cybersecurity before diving into the how. Create your security roadmap using tools like SAP’s secure operations map and the NIST Cybersecurity … More about the bookfrom $84.99
Available
E-book | Print edition | Bundle