Skip to main content

Evaluate

Evaluate

POST 

/api/2/auto_eval/evaluation/evaluate

Evaluate a metric on rows of data, returning scores for each row. Specify metric.id or metric.name to identify the metric.

Request

Body

    metric

    object

    required

    id string
    name string
    description string
    deploymentStatus ModelDeploymentStatus (string)

    Possible values: [MODEL_DEPLOYMENT_STATUS_UNSPECIFIED, MODEL_DEPLOYMENT_STATUS_PENDING, MODEL_DEPLOYMENT_STATUS_ONLINE, MODEL_DEPLOYMENT_STATUS_OFFLINE, MODEL_DEPLOYMENT_STATUS_PAUSED]

    input string[]required
    output string[]required
    groundTruth string[]required

Responses

Successful operation

Schema

    metric

    object

    required

    id string
    name string
    description string
    deploymentStatus ModelDeploymentStatus (string)

    Possible values: [MODEL_DEPLOYMENT_STATUS_UNSPECIFIED, MODEL_DEPLOYMENT_STATUS_PENDING, MODEL_DEPLOYMENT_STATUS_ONLINE, MODEL_DEPLOYMENT_STATUS_OFFLINE, MODEL_DEPLOYMENT_STATUS_PAUSED]

    scores number[]required
Loading...