Evaluation
Evaluate an answer
The metrics_alignment
endpoint evaluates the correctness, completeness, and alignment of a generated answer with respect to a question and a ground truth answer. The correctness and completeness are evaluated based on the precision and recall of the generated answer with respect to the ground truth answer facts. Alignment is the harmonic mean of correctness and completeness.
POST
/
assistant
/
evaluation
/
metrics
/
alignment
This feature is in public preview.
Authorizations
Body
application/json
The request for the alignment evaluation.
The question for which the answer was generated.
The generated answer.
The ground truth answer to the question.
Was this page helpful?