forked from phoenix-oss/llama-stack-mirror
result_data in evaluation response
This commit is contained in:
parent
08c0c5505e
commit
a92756a4b7
3 changed files with 43 additions and 32 deletions
21
docs/_static/llama-stack-spec.yaml
vendored
21
docs/_static/llama-stack-spec.yaml
vendored
|
@ -6018,7 +6018,7 @@ components:
|
|||
EvaluationResponse:
|
||||
type: object
|
||||
properties:
|
||||
generations:
|
||||
result_data:
|
||||
type: array
|
||||
items:
|
||||
type: object
|
||||
|
@ -6031,17 +6031,22 @@ components:
|
|||
- type: array
|
||||
- type: object
|
||||
description: >-
|
||||
The generations in rows for the evaluation.
|
||||
scores:
|
||||
The result data containing generations and grades in each row.
|
||||
metrics:
|
||||
type: object
|
||||
additionalProperties:
|
||||
$ref: '#/components/schemas/ScoringResult'
|
||||
description: >-
|
||||
The scores for the evaluation. Map of grader id to ScoringResult.
|
||||
oneOf:
|
||||
- type: 'null'
|
||||
- type: boolean
|
||||
- type: number
|
||||
- type: string
|
||||
- type: array
|
||||
- type: object
|
||||
description: Map of metric name to aggregated value.
|
||||
additionalProperties: false
|
||||
required:
|
||||
- generations
|
||||
- scores
|
||||
- result_data
|
||||
- metrics
|
||||
title: EvaluationResponse
|
||||
description: A response to an inline evaluation.
|
||||
HealthInfo:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue