Evaluate an answer
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.
For more information, see Understanding Evaluation API.
This feature is in public preview.
Authorizations
An API Key is required to call Pinecone APIs. Get yours from the console.
Body
The question for which the answer was generated.
The generated answer.
The ground truth answer to the question.
Response
The metrics returned for the alignment evaluation.
The reasoning behind the alignment evaluation.
Token counts for the input prompt and completion.
Was this page helpful?