v50

latestOpenAPI 3.0.0raw.githubusercontent.com2024-08-26226284.9 KB

Get Evaluation

Retrieve an evaluation by ID

get/sdk/v1/evaluations/{id}

Path parameters

idstring required
Example:1212121

Response

Successful operation

idstring required
promptIdstring required
variablesPromptVariables required

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

weightnumber

How heavily to weigh the evaluation within the prompt.

thresholdnumber

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