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

The request for the alignment evaluation.

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

The response for the alignment evaluation.

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.