Create
Run an Evaluation Test Case
agents.evaluation_runs.create(EvaluationRunCreateParams**kwargs) -> evaluation_run_uuidslistEvaluationRunCreateResponse
post/v2/gen-ai/evaluation_runs
To run an evaluation test case, send a POST request to /v2/gen-ai/evaluation_runs
.
Parameters
agent_uuidslist
optional
List[str]
Agent UUIDs to run the test case against.
run_namestr
optional
The name of the run.
test_case_uuidstr
optional
Test-case UUID to run
Returns
EvaluationRunCreateResponseclass
from do_gradientai import GradientAI
client = GradientAI()
evaluation_run = client.agents.evaluation_runs.create()
print(evaluation_run.evaluation_run_uuids)
200 Example
{
"evaluation_run_uuids": [
"example string"
]
}