Skip to main content
result = evaluator.evaluate(
    eval_templates="summary_quality",
    inputs={
        "output": "Example output summary text",
        "input": "Example input text"
    },
    model_name="turing_flash"
)

print(result.eval_results[0].output)
print(result.eval_results[0].reason)
Input
Required InputTypeDescription
outputstringThe generated summary.
inputstringThe original document or source content.
Output
FieldDescription
ResultReturns a score representing the summary quality, where higher values indicate better summary quality.

What to Do When Summary Quality Evaluation Gives a Low Score

When a summary quality evaluation yields a low score, the first step is to review the evaluation criteria to ensure they are clearly defined and aligned with the assessment goals. If necessary, adjustments should be made to enhance their comprehensiveness and relevance. Next, the summary itself should be analysed for completeness, accuracy, and relevance, identifying any gaps or inaccuracies. Refinements should be considered to better capture the main points and improve the overall quality of the summary.
I