Skip to main content
result = evaluator.evaluate(
    eval_templates="completeness",
    inputs={
        "input": "Why doesn't honey go bad?",
        "output": "Honey doesn't spoil because its low moisture and high acidity prevent the growth of bacteria and other microbes."
    },
    model_name="turing_flash"
)

print(result.eval_results[0].output)
print(result.eval_results[0].reason)
Input
Required InputTypeDescription
inputstringUser query provided to the model
outputstringmodel generated response
Output
FieldDescription
ResultReturns a numeric score, where higher scores indicate more complete content relative to the input
ReasonProvides a detailed explanation of the completeness assessment

What to do when Completeness is Low

Determine which aspects of the query have not been fully addressed and identify any gaps or incomplete sections that require additional information. Enhancing the response involves adding missing details to ensure it is comprehensive and refining the content to cover all aspects of the query. To improve completeness in the long term, implementing mechanisms that align responses more closely with query requirements and enhancing the response generation process to prioritise completeness can help ensure more thorough and accurate outputs.
I