Definition
The context recall test measures the ability of the retriever to retrieve all necessary context for the question. This metric is based on the Ragas context recall metric.Taxonomy
- Task types: LLM.
- Availability: and .
Why it matters
- Context recall ensures that your retrieval system captures all the relevant information needed to answer a question properly.
- This metric helps identify when your retrieval mechanism is missing important context that should be available to the LLM.
- It’s crucial for RAG (Retrieval-Augmented Generation) systems where the quality of retrieved context directly impacts answer quality.
Required columns
To compute this metric, your dataset must contain the following columns:- Ground truth: The reference/correct answer
- Context: The retrieved context or background information
Test configuration examples
If you are writing atests.json
, here are a few valid configurations for the context recall test:
Related
- Ragas integration - Learn more about Ragas metrics.
- Context relevancy test - Measure relevance of retrieved context.
- Context utilization test - Evaluate how well context is used.
- Aggregate metrics - Overview of all available metrics.