Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix!: update eval-tasks -> benchmarks #1032

Merged
merged 35 commits into from
Feb 14, 2025
Merged
Show file tree
Hide file tree
Changes from 6 commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
f1844a8
update eval-tasks -> eval/task
yanxi0830 Feb 10, 2025
5fe3ddb
update eval_task_id -> task_id
yanxi0830 Feb 10, 2025
b11c38e
openapi
yanxi0830 Feb 10, 2025
e013b90
fix path
yanxi0830 Feb 10, 2025
79e7253
deprecation in OpenAPI spec
yanxi0830 Feb 10, 2025
65ffcdd
deprecation
yanxi0830 Feb 10, 2025
9a8f402
naming update
yanxi0830 Feb 13, 2025
b20742f
replace
yanxi0830 Feb 13, 2025
017d24f
replace task_id -> benchmark_id
yanxi0830 Feb 13, 2025
8759196
benchmark config
yanxi0830 Feb 13, 2025
e07776f
update
yanxi0830 Feb 13, 2025
ec721b3
update
yanxi0830 Feb 13, 2025
2d0f686
fix
yanxi0830 Feb 13, 2025
1395de5
fix
yanxi0830 Feb 13, 2025
10e8c96
add benchmarks
yanxi0830 Feb 13, 2025
76281f4
Merge branch 'main' into eval_task_api_update
yanxi0830 Feb 13, 2025
234fe36
fix cli download
yanxi0830 Feb 13, 2025
5f5a7b6
openapi
yanxi0830 Feb 13, 2025
bd94769
feat: support listing all for `llama stack list-providers` (#1056)
booxter Feb 13, 2025
a5d21e6
docs: Mention convential commits format in CONTRIBUTING.md (#1075)
bbrowning Feb 13, 2025
06c732a
fix: logprobs support in remote-vllm provider (#1074)
bbrowning Feb 13, 2025
40468aa
fix: improve signal handling and update dependencies (#1044)
leseb Feb 13, 2025
b564657
style: update model id in model list title (#1072)
reidliu41 Feb 13, 2025
b8a612e
update
yanxi0830 Feb 13, 2025
0e426d3
chore: Link to Groq docs in the warning message for preview model (#1…
terrytangyuan Feb 13, 2025
ceff631
deprecation in OpenAPI spec
yanxi0830 Feb 10, 2025
9ce00ed
update
yanxi0830 Feb 13, 2025
39980dc
openapi
yanxi0830 Feb 13, 2025
139d5bd
update
yanxi0830 Feb 13, 2025
327be2f
Merge branch 'main' into eval_task_api_update
yanxi0830 Feb 13, 2025
e183ec9
update
yanxi0830 Feb 13, 2025
8ae5970
Merge branch 'main' into eval_task_api_update
yanxi0830 Feb 13, 2025
cda598d
Merge branch 'main' into eval_task_api_update
yanxi0830 Feb 13, 2025
c56db9e
compeltely remove eval_task
yanxi0830 Feb 13, 2025
b0ad0c1
precommit
yanxi0830 Feb 13, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
303 changes: 220 additions & 83 deletions docs/_static/llama-stack-spec.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,89 @@
}
],
"paths": {
"/v1/eval-tasks/{eval_task_id}": {
"get": {
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"oneOf": [
{
"$ref": "#/components/schemas/EvalTask"
},
{
"type": "null"
}
]
}
}
}
}
},
"tags": [
"EvalTasks"
],
"description": "",
"parameters": [
{
"name": "eval_task_id",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
}
],
"deprecated": true
}
},
"/v1/eval-tasks": {
"get": {
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ListEvalTasksResponse"
}
}
}
}
},
"tags": [
"EvalTasks"
],
"description": "",
"parameters": [],
"deprecated": true
},
"post": {
"responses": {
"200": {
"description": "OK"
}
},
"tags": [
"EvalTasks"
],
"description": "",
"parameters": [],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/DeprecatedRegisterEvalTaskRequest"
}
}
},
"required": true
},
"deprecated": true
}
},
"/v1/datasetio/rows": {
"get": {
"responses": {
Expand Down Expand Up @@ -728,7 +811,7 @@
]
}
},
"/v1/eval-tasks/{eval_task_id}": {
"/v1/eval/tasks/{task_id}": {
"get": {
"responses": {
"200": {
Expand All @@ -755,7 +838,7 @@
"description": "",
"parameters": [
{
"name": "eval_task_id",
"name": "task_id",
"in": "path",
"required": true,
"schema": {
Expand Down Expand Up @@ -1503,7 +1586,7 @@
}
}
},
"/v1/eval-tasks": {
"/v1/eval/tasks": {
"get": {
"responses": {
"200": {
Expand Down Expand Up @@ -2365,6 +2448,138 @@
"jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema",
"components": {
"schemas": {
"EvalTask": {
"type": "object",
"properties": {
"identifier": {
"type": "string"
},
"provider_resource_id": {
"type": "string"
},
"provider_id": {
"type": "string"
},
"type": {
"type": "string",
"const": "eval_task",
"default": "eval_task"
},
"dataset_id": {
"type": "string"
},
"scoring_functions": {
"type": "array",
"items": {
"type": "string"
}
},
"metadata": {
"type": "object",
"additionalProperties": {
"oneOf": [
{
"type": "null"
},
{
"type": "boolean"
},
{
"type": "number"
},
{
"type": "string"
},
{
"type": "array"
},
{
"type": "object"
}
]
}
}
},
"additionalProperties": false,
"required": [
"identifier",
"provider_resource_id",
"provider_id",
"type",
"dataset_id",
"scoring_functions",
"metadata"
]
},
"ListEvalTasksResponse": {
"type": "object",
"properties": {
"data": {
"type": "array",
"items": {
"$ref": "#/components/schemas/EvalTask"
}
}
},
"additionalProperties": false,
"required": [
"data"
]
},
"DeprecatedRegisterEvalTaskRequest": {
"type": "object",
"properties": {
"eval_task_id": {
"type": "string"
},
"dataset_id": {
"type": "string"
},
"scoring_functions": {
"type": "array",
"items": {
"type": "string"
}
},
"provider_eval_task_id": {
"type": "string"
},
"provider_id": {
"type": "string"
},
"metadata": {
"type": "object",
"additionalProperties": {
"oneOf": [
{
"type": "null"
},
{
"type": "boolean"
},
{
"type": "number"
},
{
"type": "string"
},
{
"type": "array"
},
{
"type": "object"
}
]
}
}
},
"additionalProperties": false,
"required": [
"eval_task_id",
"dataset_id",
"scoring_functions"
]
},
"AppendRowsRequest": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -5208,69 +5423,6 @@
"type"
]
},
"EvalTask": {
"type": "object",
"properties": {
"identifier": {
"type": "string"
},
"provider_resource_id": {
"type": "string"
},
"provider_id": {
"type": "string"
},
"type": {
"type": "string",
"const": "eval_task",
"default": "eval_task"
},
"dataset_id": {
"type": "string"
},
"scoring_functions": {
"type": "array",
"items": {
"type": "string"
}
},
"metadata": {
"type": "object",
"additionalProperties": {
"oneOf": [
{
"type": "null"
},
{
"type": "boolean"
},
{
"type": "number"
},
{
"type": "string"
},
{
"type": "array"
},
{
"type": "object"
}
]
}
}
},
"additionalProperties": false,
"required": [
"identifier",
"provider_resource_id",
"provider_id",
"type",
"dataset_id",
"scoring_functions",
"metadata"
]
},
"Model": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -6164,21 +6316,6 @@
"data"
]
},
"ListEvalTasksResponse": {
"type": "object",
"properties": {
"data": {
"type": "array",
"items": {
"$ref": "#/components/schemas/EvalTask"
}
}
},
"additionalProperties": false,
"required": [
"data"
]
},
"ListModelsResponse": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -7224,7 +7361,7 @@
"RegisterEvalTaskRequest": {
"type": "object",
"properties": {
"eval_task_id": {
"task_id": {
"type": "string"
},
"dataset_id": {
Expand Down Expand Up @@ -7270,7 +7407,7 @@
},
"additionalProperties": false,
"required": [
"eval_task_id",
"task_id",
"dataset_id",
"scoring_functions"
]
Expand Down
Loading