Evaluation
Evaluate an answer
Evaluate the correctness and completeness of a response from an assistant or a RAG system. 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.
For guidance and examples, see Evaluate answers.
POST
Authorizations
Body
application/json
The request body for the alignment evaluation.
The request for the alignment evaluation.
Response
200
application/json
The evaluation metrics and reasoning for the generated answer.
The response for the alignment evaluation.