Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Building AI Intensive Python Applications
  • Table Of Contents Toc
  • Feedback & Rating feedback
Building AI Intensive Python Applications

Building AI Intensive Python Applications

By : Rachelle Palmer, Ben Perlmutter, Ashwin Gangadhar, Nicholas Larew, Sigfrido Narváez, Thomas Rueckstiess, Henry Weller, Richmond Alake, Shubham Ranjan
close
close
Building AI Intensive Python Applications

Building AI Intensive Python Applications

By: Rachelle Palmer, Ben Perlmutter, Ashwin Gangadhar, Nicholas Larew, Sigfrido Narváez, Thomas Rueckstiess, Henry Weller, Richmond Alake, Shubham Ranjan

Overview of this book

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.
Table of Contents (18 chapters)
close
close
3
Part 1: Foundations of AI: LLMs, Embedding Models, Vector Databases, and Application Design
8
Part 2: Building Your Python Application: Frameworks, Libraries, APIs, and Vector Search
11
Part 3: Optimizing AI Applications: Scaling, Fine-Tuning, Troubleshooting, Monitoring, and Analytics
Appendix: Further Reading: Index

Getting Started with Generative AI

There are a plethora of options for building generative AI (GenAI) applications. The landscape is, quite frankly, overwhelming to navigate, and many of the tools that satisfy one criterion may fall short in another. GenAI applications evolve so quickly that within weeks of this book being published, some of the new AI companies might no longer exist. Therefore, this chapter focuses on long-lived, high-level concepts related to technologies that are used to create GenAI applications.

You will learn ways from which your next web development project might benefit. This chapter will examine not just what these ways are but how they work, which will give you a broader understanding and perspective of GenAI. This should help you decide when to use GenAI and how, as well as make the applications you create generally more accurate.

By the end of this chapter, you will have a good understanding of the benefits that individual AI/ML stack components bring to a development project, how they relate to each other, and why GenAI technologies are a revolution in software—both in terms of the data handled and desired functionalities.

This chapter gives an introduction to GenAI and provides a quick overview of the following topics:

  • Definitions for common terminology
  • A GenAI stack of choice
  • Python and GenAI
  • The OpenAI API
  • An introduction to MongoDB Vector Search
  • Important features of GenAI
  • Why use GenAI?
  • The ethics and risks of GenAI
bookmark search playlist download font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY