forked from phoenix-oss/llama-stack-mirror
update
This commit is contained in:
parent
42447729e4
commit
0048274ec0
3 changed files with 7 additions and 6 deletions
4
docs/_static/llama-stack-spec.html
vendored
4
docs/_static/llama-stack-spec.html
vendored
|
@ -10328,14 +10328,14 @@
|
||||||
"properties": {
|
"properties": {
|
||||||
"dataset_id": {
|
"dataset_id": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The ID of the dataset to be used to run the benchmark."
|
"description": "The ID of the dataset to be used to run the benchmark. ID obtained through `datasets.register()`"
|
||||||
},
|
},
|
||||||
"grader_ids": {
|
"grader_ids": {
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"items": {
|
"items": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"description": "List of grader ids to use for this benchmark."
|
"description": "List of grader ids to use for this benchmark. ID obtained through `graders.register()`"
|
||||||
},
|
},
|
||||||
"benchmark_id": {
|
"benchmark_id": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
|
|
5
docs/_static/llama-stack-spec.yaml
vendored
5
docs/_static/llama-stack-spec.yaml
vendored
|
@ -7084,13 +7084,14 @@ components:
|
||||||
dataset_id:
|
dataset_id:
|
||||||
type: string
|
type: string
|
||||||
description: >-
|
description: >-
|
||||||
The ID of the dataset to be used to run the benchmark.
|
The ID of the dataset to be used to run the benchmark. ID obtained through
|
||||||
|
`datasets.register()`
|
||||||
grader_ids:
|
grader_ids:
|
||||||
type: array
|
type: array
|
||||||
items:
|
items:
|
||||||
type: string
|
type: string
|
||||||
description: >-
|
description: >-
|
||||||
List of grader ids to use for this benchmark.
|
List of grader ids to use for this benchmark. ID obtained through `graders.register()`
|
||||||
benchmark_id:
|
benchmark_id:
|
||||||
type: string
|
type: string
|
||||||
description: >-
|
description: >-
|
||||||
|
|
|
@ -62,8 +62,8 @@ class Benchmarks(Protocol):
|
||||||
"""
|
"""
|
||||||
Register a new benchmark. A benchmark consists of a dataset id and a list of grader ids.
|
Register a new benchmark. A benchmark consists of a dataset id and a list of grader ids.
|
||||||
|
|
||||||
:param dataset_id: The ID of the dataset to be used to run the benchmark.
|
:param dataset_id: The ID of the dataset to be used to run the benchmark. ID obtained through `datasets.register()`
|
||||||
:param grader_ids: List of grader ids to use for this benchmark.
|
:param grader_ids: List of grader ids to use for this benchmark. ID obtained through `graders.register()`
|
||||||
:param benchmark_id: (Optional) The ID of the benchmark to register. If not provided, an ID will be generated.
|
:param benchmark_id: (Optional) The ID of the benchmark to register. If not provided, an ID will be generated.
|
||||||
:param metadata: (Optional) Metadata for this benchmark for additional descriptions.
|
:param metadata: (Optional) Metadata for this benchmark for additional descriptions.
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue