Artículos relacionados a Building RAG Applications: A Hands-On Guide to Retrieval-Aug...

Building RAG Applications: A Hands-On Guide to Retrieval-Augmented Generation with Python (The Practical Tech Guide Series) - Tapa blanda

Libro 5 de 15: The Practical Tech Guide Series

Lion, Blue J.; Press, Quiet Lion

 
9798197521361: Building RAG Applications: A Hands-On Guide to Retrieval-Augmented Generation with Python (The Practical Tech Guide Series)

Sinopsis

Build practical RAG applications without getting lost in vendor noise.

Retrieval-Augmented Generation, or RAG, is one of the most useful patterns for building AI applications that answer from real documents instead of unsupported guesses. But many explanations jump too quickly into tools, vector databases, and frameworks before explaining how the system actually works.

This book takes a practical, project-first approach.

You will build docs_rag_app, a small local RAG application in Python that answers questions over a folder of documents. Step by step, you will learn how to load documents, split them into chunks, retrieve relevant evidence, generate grounded answers, add citations, evaluate quality, and debug bad results.

Along the way, the book explains the ideas behind the code:

  • why LLMs need retrieval
  • how RAG differs from fine-tuning, long context, memory, and tool calls
  • how chunking affects answer quality
  • how lexical and vector retrieval work
  • why reranking improves difficult cases
  • how citations and abstention reduce hallucination risk
  • how to evaluate and refresh a RAG system
  • why retrieved text should be treated as evidence, not trusted instructions

The goal is not to build the largest possible AI system. The goal is to build a small RAG application that is easy to inspect, easy to debug, and strong enough to improve.

If you can read basic Python and want to understand how retrieval changes AI application design, this guide gives you a clear path from first working prototype to practical local RAG app.

"Sinopsis" puede pertenecer a otra edición de este libro.