/evalsCreate an evaluation
Creates an evaluation with a data source configuration and testing criteria for assessing model performance. Supply data_source_config to define the evaluation data and testing_criteria to specify the graders; name and metadata are optional. Run the evaluation against models and model configurations by creating an evaluation run.
- IdempotentThe SDK sends
Idempotency-Key, so a retried request is only applied once.
Configuration for the evaluation, including its data source and testing criteria. data_source_config and testing_criteria are required.
A 400 is returned when the evaluation input or grader configuration is invalid. A 429 is returned when the request exceeds a rate limit. data_source_config and testing_criteria are required; each data source configuration must include its required fields, including type and, where specified, item_schema or source.