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
- application/json
Body
metric
object
required
id string
name string
description string
deploymentStatus string
input string[]required
output string[]required
groundTruth string[]required
Responses
- 200
Successful operation
- application/json
- Schema
- Example (from schema)
Schema
metric
object
required
id string
name string
description string
deploymentStatus string
scores number[]required
{
"metric": {
"id": "string",
"name": "string",
"description": "string",
"deploymentStatus": "string"
},
"scores": [
0
]
}
Loading...