Skip to main content

Evaluate Dataset

POST 

/api/2/auto_eval/evaluation/evaluate_dataset

Evaluate a metric on a dataset, returning scores for each example. Specify metric.id or metric.name to identify the metric.

Request

Body

    metric

    object

    required

    id string
    name string
    description string
    deploymentStatus string
    datasetId stringrequired

Responses

Successful operation

Schema

    metric

    object

    required

    id string
    name string
    description string
    deploymentStatus string
    scores number[]required
Loading...