80. Retrieval-augmented generation
Build retrieval-augmented generation systems with document ingestion, chunking, embeddings, vector search, ranking, prompt assembly, citations, and answer evaluation. This chapter shows how to ground generated answers in external sources.