Vector Databases and RAG with Python
eBook - ePub

Vector Databases and RAG with Python

Build intelligent search and retrieval systems using embeddings and LLMs (English Edition)

  1. 335 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

Vector Databases and RAG with Python

Build intelligent search and retrieval systems using embeddings and LLMs (English Edition)

About this book

Description
As large language models continue to transform how we build intelligent systems, the ability to integrate proprietary data through vector search and RAG has become essential for creating accurate, contextually-aware applications that go beyond the limitations of pre-trained models

This comprehensive guide takes you from foundational concepts to production-ready implementations of vector databases and RAG systems. Starting with vector semantics and embeddings, you will learn to generate vector representations using neural networks, BERT, and OpenAI models. The book covers popular vector databases including Weaviate and Milvus, teaching you how to implement efficient search algorithms like k-nearest neighbors and hierarchical navigable small worlds. You will build complete RAG pipelines, explore advanced techniques like GraphRAG, and master evaluation frameworks using LlamaIndex. Each chapter includes hands-on Python examples with practical code implementations that demonstrate real-world applications.

By the end of this book, you will have mastered the skills needed to design, build, and evaluate production-grade vector search systems and RAG applications. You will be equipped to enhance LLM applications with private data, implement semantic search at scale, troubleshoot retrieval issues, and solve real-world information retrieval challenges using cutting-edge AI techniques with confidence.

What you will learn
? Generate embeddings using neural networks, BERT, and OpenAI models.
? Implement vector search algorithms including KNN and HNSW.
? Develop GraphRAG systems for structured knowledge representation.
? Evaluate and optimize RAG applications using LlamaIndex frameworks.
? Design scalable vector database architectures for production environments.
? Integrate vector search with LLMs for intelligent retrieval.

Who this book is for
This book is designed for data scientists, machine learning engineers, and software developers who want to build intelligent search and retrieval systems using modern AI techniques. It is ideal for professionals working with large language models who need to integrate private data, implement semantic search capabilities, or build production-ready RAG applications.

Table of Contents
1. Introduction to Vector Search
2. Getting Vector Representation
3. Searching using Vectors
4. Nearest Neighbor Search
5. Vector Databases Weaviate
6. Vector Databases Milvus
7. Solving RAG Use Cases with Milvus and Weaviate
8. Graph RAG
9. RAG Introduction with LlamaIndex
10. Evaluating RAG

Information

Year
2026
eBook ISBN
9789378545689

Table of contents

  1. Cover
  2. Title Page
  3. Copyright Page
  4. Dedication Page
  5. About the Author
  6. About the Reviewers
  7. Acknowledgement
  8. Preface
  9. Table of Contents
  10. 1. Introduction to Vector Search
  11. 2. Getting Vector Representation
  12. 3. Searching Using Vectors
  13. 4. Nearest Neighbor Search
  14. 5. Vector Databases Weaviate
  15. 6. Vector Databases Milvus
  16. 7. Solving RAG Use Cases with Milvus and Weaviate
  17. 8. Graph RAG
  18. 9. RAG Introduction with LlamaIndex
  19. 10. Evaluating RAG
  20. Index

Trusted byĀ 375,005 students

Access to over 1.5 million titles for a fair monthly price.

Study more efficiently using our study tools.

Frequently asked questions

Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription
No, books cannot be downloaded as external files, such as PDFs, for use outside of Perlego. However, you can download books within the Perlego app for offline reading on mobile or tablet. Learn how to download books offline
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1.5 million books across 990+ topics, we’ve got you covered! Learn about our mission
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more about Read Aloud
Yes! You can use the Perlego app on both iOS and Android devices to read anytime, anywhere — even offline. Perfect for commutes or when you’re on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app
Yes, you can access Vector Databases and RAG with Python by Rajdeep Dua in PDF and/or ePUB format, as well as other popular books in Informatik & Künstliche Intelligenz (KI) & Semantik. We have over 1.5 million books available in our catalogue for you to explore.