Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Building AI Intensive Python Applications

You're reading from   Building AI Intensive Python Applications Create intelligent apps with LLMs and vector databases

Arrow left icon
Product type Paperback
Published in Sep 2024
Publisher Packt
ISBN-13 9781836207252
Length 298 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Toc

Table of Contents (18) Chapters Close

Preface 1. Chapter 1: Getting Started with Generative AI 2. Chapter 2: Building Blocks of Intelligent Applications FREE CHAPTER 3. Part 1: Foundations of AI: LLMs, Embedding Models, Vector Databases, and Application Design
4. Chapter 3: Large Language Models 5. Chapter 4: Embedding Models 6. Chapter 5: Vector Databases 7. Chapter 6: AI/ML Application Design 8. Part 2: Building Your Python Application: Frameworks, Libraries, APIs, and Vector Search
9. Chapter 7: Useful Frameworks, Libraries, and APIs 10. Chapter 8: Implementing Vector Search in AI Applications 11. Part 3: Optimizing AI Applications: Scaling, Fine-Tuning, Troubleshooting, Monitoring, and Analytics
12. Chapter 9: LLM Output Evaluation 13. Chapter 10: Refining the Semantic Data Model to Improve Accuracy 14. Chapter 11: Common Failures of Generative AI 15. Chapter 12: Correcting and Optimizing Your Generative AI Application 16. Other Books You May Enjoy Appendix: Further Reading: Index

Defining the terminology

For the true beginner, let’s start with defining some key terms: AI, ML, and GenAI. You will come across these terms repeatedly in this book, so it helps to have a strong conceptual foundation of these terms:

  • Artificial intelligence (AI) refers to the ability of machines to perform tasks that would normally require human intelligence. This includes tasks such as perception, reasoning, learning, and decision making. The journey of AI has evolved significantly from early speculative ideas to the sophisticated technologies of today. Figure 1.1 shows a timeline of the development of AI.

Figure 1.1: A timeline of AI

  • Machine learning (ML) is a subset of AI that involves the use of algorithms to automatically learn from data and improve over time. Essentially, it’s a way for machines to learn and adapt without being explicitly programmed. Most often used in fields that require advanced analysis of thousands of data points, ML is most useful in medical diagnostics, market analysis, and military intelligence. Effectively, ML identifies hidden or complex patterns in data that would be impossible for a human to see and then can make suggestions for the next steps or actions.
  • Generative AI (GenAI) is the ability to create text, images, audio, video, and other content in response to a user prompt. It powers chatbots, virtual assistants, language translators, and other similar services. These systems use algorithms trained on vast amounts of data, such as text and images from the internet, to learn patterns and relationships. This enables them to generate new content that is similar but not identical to the underlying training data. For instance, large language models (LLMs) use training data to learn patterns in written language. GenAI can then use these models to emulate a human writing style.
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image