GET
/
sdk
/
v1
/
evaluations

Response

200 - application/json
id
string
required
promptId
string
required
appendedMessages
object[]
required

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

variables
object
required

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

weight
number
default: 1

How heavily to weigh the evaluation within the prompt.

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

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

Required range: 0 < x < 1