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:Documentation Index
Fetch the complete documentation index at: https://handbook.fiddler.ai/llms.txt
Use this file to discover all available pages before exploring further.
- 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
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
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
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
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
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