Retrieval-Augmented Generation (RAG)
अपने दस्तावेज़ों पर आधारित प्रश्न-उत्तर systems बनाएँ: chunking, embeddings, keyword और hybrid search, reranking, prompts, citations, evaluation और production, छोटे चलाने योग्य उदाहरणों के साथ।
पाठ्यक्रम
RAG क्यों और कैसे काम करता है
दस्तावेज़ तैयार करना: Loading, Chunking, Metadata
Retrieval: Keyword, Vector और Hybrid
- Embeddings और Semantic Search
- TF-IDF से Keyword Search
- BM25: मानक Keyword Ranker
- Hybrid Search और Reciprocal Rank Fusion
- Vector Indexes और Approximate Search
Retrieval गुणवत्ता सुधारना
आधारित उत्तर बनाना
RAG System का मूल्यांकन
- Retrieval Metrics: Recall@k और MRR
- उत्तरों का मूल्यांकन: Faithfulness और Relevance
- विफलता विश्लेषण: कहाँ टूटा?
Production में RAG चलाना
- Index को ताज़ा रखना
- Security, Privacy और Prompt Injection
- Latency, लागत और Caching
- उन्नत पैटर्न: Agentic, Graph और Multimodal RAG