Create
Run an Evaluation Test Case
client.agents.evaluationRuns.create(EvaluationRunCreateParams { agent_uuids, run_name, test_case_uuid } body?, RequestOptionsoptions?): EvaluationRunCreateResponse { evaluation_run_uuids }
/v2/gen-ai/evaluation_runs
To run an evaluation test case, send a POST request to /v2/gen-ai/evaluation_runs
.
Parameters
Returns
Run an Evaluation Test Case
import Gradient from '@digitalocean/gradient';
const client = new Gradient();
const evaluationRun = await client.agents.evaluationRuns.create();
console.log(evaluationRun.evaluation_run_uuids);
{
"evaluation_run_uuids": [
"example string"
]
}
Returns Examples
{
"evaluation_run_uuids": [
"example string"
]
}