GET
/
sdk
/
v1
/
evaluations

Response

200 - application/json
appendedMessages
object[]
required

The messages to append to the completion messages when running the evaluation.

id
string
required
promptId
string
required
variables
object
required

The template variables added to the prompt when executing the prompt.

threshold
number
default:
1

What percentage of assertions must pass for the evaluation to pass.

Required range: 0 < x < 1
weight
number
default:
1

How heavily to weigh the evaluation within the prompt.

Required range: 0 < x < 1