Evaluation Parameters
To compute thecontextual_recall
metric, the following inputs are required:
input
: The user’s query.retrieval_context
: The set of documents or nodes retrieved by the system.expected_output
: The reference or target response that should be generated.
How Is It Calculated?
The score is computed using an LLM that:- Information Need Inference: Determines what key facts or concepts are necessary to produce the
expected_output
. - Coverage Check: Verifies whether those pieces of information exist in the
retrieval_context
.
This metric was incorporated to the Galtea platform from the open source library deepeval, for more information you can also visit their documentation.