Create
Run an Evaluation Test Case
agents.evaluation_runs.create(EvaluationRunCreateParams**kwargs) -> EvaluationRunCreateResponse
/v2/gen-ai/evaluation_runs
To run an evaluation test case, send a POST request to /v2/gen-ai/evaluation_runs.
Parameters
Agent UUIDs to run the test case against.
run_name: Optional[str]
The name of the run.
test_case_uuid: Optional[str]
Test-case UUID to run
Returns
Run an Evaluation Test Case
from gradient import Gradient
client = Gradient(
access_token="My Access Token",
)
evaluation_run = client.agents.evaluation_runs.create()
print(evaluation_run.evaluation_run_uuids)
{
"evaluation_run_uuids": [
"example string"
]
}Returns Examples
{
"evaluation_run_uuids": [
"example string"
]
}