Definition
The conciseness test evaluates how brief and to-the-point the generated answer is while still being complete and informative. This metric is based on the Ragas aspect critique for conciseness.Taxonomy
- Task types: LLM.
- Availability: and .
Why it matters
- Conciseness ensures that your LLM generates responses that are appropriately brief without unnecessary verbosity.
- This metric helps identify when your model produces overly lengthy or repetitive responses that could frustrate users.
- It’s particularly important for applications with space constraints, mobile interfaces, or when quick, direct answers are preferred.
Required columns
To compute this metric, your dataset must contain the following columns:- Input: The question or prompt given to the LLM
- Outputs: The generated answer/response from your LLM
Test configuration examples
If you are writing atests.json
, here are a few valid configurations for the conciseness test:
Related
- Ragas integration - Learn more about Ragas metrics.
- Coherence test - Evaluate logical consistency of responses.
- Correctness test - Measure overall correctness of answers.
- Aggregate metrics - Overview of all available metrics.