Develop your own gen AI applications with Python!

Generative AI with Python The Developer’s Guide to Pretrained LLMs, Vector Databases, Retrieval Augmented Generation, and Agentic Systems

written by
approx. $54.99

Pre-order now

approx. $59.95

Pre-order now

approx. $69.99

Pre-order now

Print edition E-book Bundle
475 pages, , Print edition paperback
ISBN 978-1-4932-2690-0
475 pages,
E-book formats: EPUB, PDF, online
ISBN 978-1-4932-2691-7
475 pages, , Print edition paperback
E-book formats: EPUB, PDF, online
ISBN 978-1-4932-2692-4
Your guide to generative AI with Python is here! Start with an introduction to generative AI, NLP models, LLMs, and LMMs—and then dive into pretrained models with Hugging Face. Work with LLMs using Python with the help of tools like OpenAI and LangChain. Get step-by-step instructions for working with vector databases and using retrieval-augmented generation. With information on agentic systems and AI application deployment, this guide gives you all you need to become an AI master!
  • 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
About the Book About the E-book 475 pages, paperback. Including code download. Reference book format 7 x 10 in. Printed black and white on 50# offset paper from sustainable sources. Reader-friendly serif font (TheAntiquaB 9.5 Pt.). One-column layout. E-book in full color. PDF and EPUB files for download, DRM-free with personalized digital watermark. Copy and paste, bookmarks, and print-out permitted. Table of contents, in-text references, and index fully linked. Including online book edition in dedicated reader application.

In this book, you'll learn about:

  1. 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.

  2. 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.

  3. 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.

  4. 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

Bert Gollnick is a senior data scientist who specializes in renewable energies. For many years, he has taught courses about data science and machine learning, and more recently, about generative AI and natural language processing.

more >