POST
/
assistant
/
evaluation
/
metrics
/
alignment

This feature is in public preview.

Authorizations

Api-Key
string
headerrequired

An API Key is required to call Pinecone APIs. Get yours from the console.

Body

application/json
question
string
required

The question for which the answer was generated.

answer
string
required

The generated answer.

ground_truth_answer
string
required

The ground truth answer to the question.

Response

200 - application/json
metrics
object
required

The metrics returned for the alignment evaluation.

reasoning
object
required

The reasoning behind the alignment evaluation.

usage
object
required

Token counts for the input prompt and completion.