POST
/
api
/
v1
/
evals
/
verify
/
context_precision

Authorizations

API-Key
string
headerrequired

API Key required to authenticate requests. Get one at https://platform.composo.ai.

Headers

Authorization
string | null
API-Key
string | null

Body

application/json

Request model for context precision evaluation.

input
string
required

User input to evaluate

response
string
required

Model response to evaluate

context
string[]
required

Context passages used for evaluation

reference
string | null

Optional reference text for comparison

Response

200 - application/json

Response model for evaluation scores.

score
number | null

Evaluation score between 0 and 1; can be None if score is NaN