forked from phoenix-oss/llama-stack-mirror
update
This commit is contained in:
parent
a92756a4b7
commit
42447729e4
3 changed files with 16 additions and 16 deletions
12
docs/_static/llama-stack-spec.html
vendored
12
docs/_static/llama-stack-spec.html
vendored
|
@ -8653,7 +8653,7 @@
|
||||||
"EvaluationResponse": {
|
"EvaluationResponse": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"result_data": {
|
"result_rows": {
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"items": {
|
"items": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
|
@ -8680,9 +8680,9 @@
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"description": "The result data containing generations and grades in each row."
|
"description": "The result data containing inputs, generations and grades in each row."
|
||||||
},
|
},
|
||||||
"metrics": {
|
"grades": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"additionalProperties": {
|
"additionalProperties": {
|
||||||
"oneOf": [
|
"oneOf": [
|
||||||
|
@ -8706,13 +8706,13 @@
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"description": "Map of metric name to aggregated value."
|
"description": "Map of grader id to aggregated value."
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"additionalProperties": false,
|
"additionalProperties": false,
|
||||||
"required": [
|
"required": [
|
||||||
"result_data",
|
"result_rows",
|
||||||
"metrics"
|
"grades"
|
||||||
],
|
],
|
||||||
"title": "EvaluationResponse",
|
"title": "EvaluationResponse",
|
||||||
"description": "A response to an inline evaluation."
|
"description": "A response to an inline evaluation."
|
||||||
|
|
12
docs/_static/llama-stack-spec.yaml
vendored
12
docs/_static/llama-stack-spec.yaml
vendored
|
@ -6018,7 +6018,7 @@ components:
|
||||||
EvaluationResponse:
|
EvaluationResponse:
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
result_data:
|
result_rows:
|
||||||
type: array
|
type: array
|
||||||
items:
|
items:
|
||||||
type: object
|
type: object
|
||||||
|
@ -6031,8 +6031,8 @@ components:
|
||||||
- type: array
|
- type: array
|
||||||
- type: object
|
- type: object
|
||||||
description: >-
|
description: >-
|
||||||
The result data containing generations and grades in each row.
|
The result data containing inputs, generations and grades in each row.
|
||||||
metrics:
|
grades:
|
||||||
type: object
|
type: object
|
||||||
additionalProperties:
|
additionalProperties:
|
||||||
oneOf:
|
oneOf:
|
||||||
|
@ -6042,11 +6042,11 @@ components:
|
||||||
- type: string
|
- type: string
|
||||||
- type: array
|
- type: array
|
||||||
- type: object
|
- type: object
|
||||||
description: Map of metric name to aggregated value.
|
description: Map of grader id to aggregated value.
|
||||||
additionalProperties: false
|
additionalProperties: false
|
||||||
required:
|
required:
|
||||||
- result_data
|
- result_rows
|
||||||
- metrics
|
- grades
|
||||||
title: EvaluationResponse
|
title: EvaluationResponse
|
||||||
description: A response to an inline evaluation.
|
description: A response to an inline evaluation.
|
||||||
HealthInfo:
|
HealthInfo:
|
||||||
|
|
|
@ -81,12 +81,12 @@ class EvaluationResponse(BaseModel):
|
||||||
"""
|
"""
|
||||||
A response to an inline evaluation.
|
A response to an inline evaluation.
|
||||||
|
|
||||||
:param result_data: The result data containing generations and grades in each row.
|
:param result_rows: The result data containing inputs, generations and grades in each row.
|
||||||
:param metrics: Map of metric name to aggregated value.
|
:param grades: Map of grader id to aggregated value.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
result_data: List[Dict[str, Any]]
|
result_rows: List[Dict[str, Any]]
|
||||||
metrics: Dict[str, Any]
|
grades: Dict[str, Any]
|
||||||
|
|
||||||
|
|
||||||
class Evaluation(Protocol):
|
class Evaluation(Protocol):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue