Guideline Adherence
Grades how well the LLM adheres to a provided guideline when giving a response.
Guideline adherence measures the extent to which the generated response follows a given guideline, rule, or protocol.
Given the complexity of LLMs, it is crucial to define certain guidelines, be it in terms of the structure of the output or the constraints on the content of the output or protocols on the decision-making capabilities of the LLMs.
Columns required:
guideline
: The guideline to be followedguideline_name (optional)
: User-assigned name of the guideline to distinguish between multiple guidelines
How to use it?
Sample Response:
The nurse in the conversation did not provide emergency contact information to the patient in distress, which violates the defined guideline.
Resulting in a low guideline adherence score.
How it works?
We evaluate guideline adherence by determining which of the following cases apply for the given task data:
- The LLM adheres to the given guideline.
- The LLM violates the given guideline.
Was this page helpful?