Building AI-Intensive Python Applications: Create intelligent apps with LLMs and vector databases Front Cover

Building AI-Intensive Python Applications: Create intelligent apps with LLMs and vector databases

  • Length: 256 pages
  • Edition: 1
  • Publisher:
  • Publication Date: 2024-10-09
  • ISBN-10: 1836207255
  • ISBN-13: 9781836207252
Description

Master retrieval-augmented generation architecture and fine-tune your AI stack, along with discovering real-world use cases and best practices to create powerful AI apps

Key Features

  • Get to grips with the fundamentals of LLMs, vector databases, and Python frameworks
  • Implement effective retrieval-augmented generation strategies with MongoDB Atlas
  • Optimize AI models for performance and accuracy with model compression and deployment optimization
  • Purchase of the print or Kindle book includes a free PDF eBook

Book Description

The era of generative AI is upon us, and this book serves as a roadmap to harness its full potential. With its help, you’ll learn the core components of the AI stack: large language models (LLMs), vector databases, and Python frameworks, and see how these technologies work together to create intelligent applications.

The chapters will help you discover best practices for data preparation, model selection, and fine-tuning, and teach you advanced techniques such as retrieval-augmented generation (RAG) to overcome common challenges, such as hallucinations and data leakage. You’ll get a solid understanding of vector databases, implement effective vector search strategies, refine models for accuracy, and optimize performance to achieve impactful results. You’ll also identify and address AI failures to ensure your applications deliver reliable and valuable results. By evaluating and improving the output of LLMs, you’ll be able to enhance their performance and relevance.

By the end of this book, you’ll be well-equipped to build sophisticated AI applications that deliver real-world value.

What you will learn

  • Understand the architecture and components of the generative AI stack
  • Explore the role of vector databases in enhancing AI applications
  • Master Python frameworks for AI development
  • Implement Vector Search in AI applications
  • Find out how to effectively evaluate LLM output
  • Overcome common failures and challenges in AI development

Who this book is for

This book is for software engineers and developers looking to build intelligent applications using generative AI. While the book is suitable for beginners, a basic understanding of Python programming is required to make the most of it.

Table of Contents

  1. Getting Started with Generative AI
  2. Building Blocks of Intelligent Applications
  3. Large Language Models
  4. Embedding Models
  5. Vector Databases
  6. AI/ML Application Design
  7. Useful Frameworks, Libraries, and APIs
  8. Implementing Vector Search in AI Applications
  9. LLM Output Evaluation
  10. Refining the Semantic Data Model to Improve Accuracy
  11. Common Failures of Generative AI
  12. Correcting and Optimizing Your Generative AI Application
To access the link, solve the captcha.