Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
The ID of the Metric to retrieve.
Example:
"321"
Response
Successfully retrieved Metric.
- AI int metric
- Human int metric
- Heuristic int metric
- AI float metric
- Human float metric
- Heuristic float metric
- AI boolean metric
- Human boolean metric
- Heuristic boolean metric
A Metric defines how to evaluate system outputs against expected results. A Metric with AI evaluation and integer output.
The ID of the Metric.
The name of the Metric.
The description of the Metric.
AI-based evaluation type.
Allowed value:
"ai"
Guidelines for AI evaluation on how to score the metric.
The complete prompt template for AI evaluation. Should include placeholders for dynamic content.
The AI model to use for evaluation.
The temperature for AI evaluation (0-2).
Required range:
0 <= x <= 2
Integer output type.
Allowed value:
"int"
The threshold for determining pass/fail from integer scores (1-5).
Required range:
1 <= x <= 5