curl --request POST \
--url https://api.example.com/v2/{entity}/{project}/evaluations \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"dataset": "<string>",
"description": "<string>",
"scorers": [
"<string>"
],
"trials": 1,
"evaluation_name": "<string>",
"eval_attributes": {}
}
'{
"digest": "<string>",
"object_id": "<string>",
"version_index": 123,
"evaluation_ref": "<string>"
}Create an evaluation object.
curl --request POST \
--url https://api.example.com/v2/{entity}/{project}/evaluations \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"dataset": "<string>",
"description": "<string>",
"scorers": [
"<string>"
],
"trials": 1,
"evaluation_name": "<string>",
"eval_attributes": {}
}
'{
"digest": "<string>",
"object_id": "<string>",
"version_index": 123,
"evaluation_ref": "<string>"
}Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
The name of this evaluation. Evaluations with the same name will be versioned together.
Reference to the dataset (weave:// URI)
A description of this evaluation
List of scorer references (weave:// URIs)
Number of trials to run
Name for the evaluation run
Optional attributes for the evaluation
Was this page helpful?