RAG Optimization
RAG Optimization: track AIOps miễn phí gồm 6 module và 30 bài. Better chunks and a faster index: semantic chunking against recursive chunking, how an…
Module
- 01 Advanced Indexing
Better chunks and a faster index: semantic chunking against recursive chunking, how an HNSW index works and how to tune it, and newer chunking strategies.
- 02 Advanced Retrieval Strategies
Why vector search alone misses exact terms, how BM25 scores keywords, and how hybrid search merges both result lists with Reciprocal Rank Fusion.
- 03 Query Transformations
Rewrite the question before searching: hypothetical document embeddings, decomposing a complex question, multi-query, step-back prompting and routing.
- 04 Re-ranking
What to do with the retrieved passages before the model sees them: cross-encoder re-ranking, MMR for diversity, compression and ordering.
- 05 GraphRAG Implementation
Answer questions that need relationships, not just similar text: extract entities into a Neo4j knowledge graph and query it with Cypher from a RAG chain.
- 06 Multimodal RAG
RAG over documents that are not only text: tables, charts, images and scanned pages, the approaches to index them and how to choose one.