Skill 2.2.9

Optimize retrieval components and embedding models

Key Concepts

Tune chunk size and overlap, the embedding model and its dimensions, the number of results, hybrid search, metadata filters and reranking. Query reformulation breaks complex questions into sub-queries.

Measure retrieval with a labelled set of questions and relevant passages (recall@k, context relevance and coverage) and change one setting at a time. Domain-specific embedding models or fine-tuned embeddings help for specialist vocabulary.