Conciseness
API reference for Conciseness
Conciseness
Evaluator to assess how concise and to-the-point an answer is.
The Conciseness evaluator measures whether an LLM’s answer is appropriately brief and direct without unnecessary verbosity. This metric is important for ensuring that responses are efficient and don’t waste users’ time with irrelevant details or excessive elaboration.
Key Features:
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
Use Cases:
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
Scoring Logic:
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
✗
None
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 Return type: Score
Example
name = 'conciseness'
score()
Score the conciseness of an answer.
Parameters
response
str
✗
None
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 Return type: Score
Last updated
Was this helpful?