- Conciseness Assessment: Determines if the answer is appropriately brief
- Binary Scoring: Returns 1.0 for concise answers, 0.0 for verbose ones
- Detailed Reasoning: Provides explanation for the conciseness assessment
- Fiddler API Integration: Uses Fiddler’s built-in conciseness evaluation model
- Customer Support: Ensuring responses are direct and helpful
- Technical Documentation: Verifying explanations are clear and brief
- Educational Content: Checking if explanations are appropriately detailed
- API Responses: Ensuring responses are efficient and focused
- 1.0 (Concise): Answer is appropriately brief and to-the-point
- 0.0 (Verbose): Answer is unnecessarily long or contains irrelevant details
Parameters
- response (str) – The LLM’s response to evaluate for conciseness.
- model (str)
- credential (str | None)
- kwargs (Any)
Returns
A Score object containing:
- value: 1.0 if concise, 0.0 if verbose
- label: String representation of the boolean result
- reasoning: Detailed explanation of the assessment
Example
This evaluator uses Fiddler’s built-in conciseness assessment model
and requires an active connection to the Fiddler API.
name = ‘conciseness’
score()
Score the conciseness of an answer.Parameters
The LLM’s response to evaluate for conciseness.
Returns
A Score object containing:
- value: 1.0 if concise, 0.0 if verbose
- label: String representation of the boolean result
- reasoning: Detailed explanation of the assessment