Evaluates whether a language model references the provided context chunks at all when generating its response. This metric assesses if the output acknowledges and incorporates information from the context, indicating the model’s basic ability to leverage provided data.
Click here to learn how to setup evaluation using the Python SDK.
Input | Parameter | Type | Description |
---|---|---|---|
Required | context | string or list[string] | The contextual information provided to the model. |
output | string | The response generated by the language model. | |
Optional | input | string | The original query or instruction given to the model. |
Output | Type | Description |
---|---|---|
Result | string | Passed / Failed |