EvalMetric
Fields
5 fields
kind· required- string
measured· required- boolean
n- integer
name· required- string
value- number or null
Raw schema (JSON)
{
"properties": {
"kind": {
"title": "Kind",
"type": "string"
},
"measured": {
"title": "Measured",
"type": "boolean"
},
"n": {
"default": 0,
"title": "N",
"type": "integer"
},
"name": {
"title": "Name",
"type": "string"
},
"value": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Value"
}
},
"required": [
"name",
"measured",
"kind"
],
"title": "EvalMetric",
"type": "object"
}Used by endpoints
Section titled “Used by endpoints”4 endpoints send or return this schema, on its own or inside another schema.
GET/api/v1/ai-eval/dashboard— Get Quality DashboardGET/api/v1/ai-eval/runs— List Eval RunsGET/api/v1/ai-eval/runs/{eval_run_id}— Get Eval RunPOST/api/v1/ai-eval/runs/evaluate/{dataset_id}— Run Evaluation
Used by schemas
Section titled “Used by schemas”More details
Section titled “More details”- Specification: OpenAPI JSON