API Reference
Create Evaluation
Create a new evaluation.
POST
Body
application/json
The messages to append to the completion messages when running the evaluation.
The template variables added to the prompt when executing the prompt.
How heavily to weigh the evaluation within the prompt.
Required range:
0 < x < 1
What percentage of assertions must pass for the evaluation to pass.
Required range:
0 < x < 1
Response
201
application/json
Successful operation
The messages to append to the completion messages when running the evaluation.
The template variables added to the prompt when executing the prompt.
How heavily to weigh the evaluation within the prompt.
Required range:
0 < x < 1
What percentage of assertions must pass for the evaluation to pass.
Required range:
0 < x < 1
Was this page helpful?