POST
/
criteria
/
judge

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
criterion_id
string
required

The ID of the criterion to judge.

output
object
required

The completion message of the model.

input
object

Response

200 - application/json
score
number
required

A score of 0 means the output failed this completion, and a score of 1 means it passed. A criteria may also return a decimal scores between 0 and 1, indicating the model's confidence or 'likelihood' that the criteria passed.

explanation
string

An explanation of the score including the model's reasoning, if applicable.

usage
object