Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
The ID of the Project to create the Metric in.
"314"
Body
- 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 with AI evaluation and integer output.
The name of the Metric.
AI-based evaluation type.
"ai"The complete prompt template for AI evaluation. Should include placeholders for dynamic content.
Integer output type.
"int"The description of the Metric.
Guidelines for AI evaluation on how to score the metric.
The AI model to use for evaluation.
The temperature for AI evaluation (0-2).
0 <= x <= 2The threshold for determining pass/fail from integer scores (1-5).
1 <= x <= 5Response
Metric created successfully
- 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.
"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).
0 <= x <= 2Integer output type.
"int"The threshold for determining pass/fail from integer scores (1-5).
1 <= x <= 5