From d7a161c820a0039baf5da93465b8b057012c83c6 Mon Sep 17 00:00:00 2001 From: Xi Yan Date: Wed, 8 Jan 2025 14:18:52 -0800 Subject: [PATCH] run openapi gen --- docs/resources/llama-stack-spec.html | 51 ++++++++++++++++++++++++++++ docs/resources/llama-stack-spec.yaml | 33 ++++++++++++++++++ 2 files changed, 84 insertions(+) diff --git a/docs/resources/llama-stack-spec.html b/docs/resources/llama-stack-spec.html index 33112012b..a9fb22b10 100644 --- a/docs/resources/llama-stack-spec.html +++ b/docs/resources/llama-stack-spec.html @@ -2467,6 +2467,36 @@ "required": true } } + }, + "/alpha/version": { + "get": { + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VersionInfo" + } + } + } + } + }, + "tags": [ + "Inspect" + ], + "parameters": [ + { + "name": "X-LlamaStack-ProviderData", + "in": "header", + "description": "JSON-encoded provider data which will be made available to the adapter servicing the API", + "required": false, + "schema": { + "type": "string" + } + } + ] + } } }, "jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema", @@ -6457,6 +6487,9 @@ "gradient_accumulation_steps": { "type": "integer" }, + "max_validation_steps": { + "type": "integer" + }, "data_config": { "$ref": "#/components/schemas/DataConfig" }, @@ -6476,6 +6509,7 @@ "n_epochs", "max_steps_per_epoch", "gradient_accumulation_steps", + "max_validation_steps", "data_config", "optimizer_config" ] @@ -7686,6 +7720,18 @@ "required": [ "model_id" ] + }, + "VersionInfo": { + "type": "object", + "properties": { + "version": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "version" + ] } }, "responses": {} @@ -8382,6 +8428,10 @@ "name": "VectorMemoryBankParams", "description": "" }, + { + "name": "VersionInfo", + "description": "" + }, { "name": "ViolationLevel", "description": "" @@ -8576,6 +8626,7 @@ "UserMessage", "VectorMemoryBank", "VectorMemoryBankParams", + "VersionInfo", "ViolationLevel", "WolframAlphaToolDefinition" ] diff --git a/docs/resources/llama-stack-spec.yaml b/docs/resources/llama-stack-spec.yaml index abd57e17e..8eca40cb7 100644 --- a/docs/resources/llama-stack-spec.yaml +++ b/docs/resources/llama-stack-spec.yaml @@ -3002,6 +3002,8 @@ components: type: integer max_steps_per_epoch: type: integer + max_validation_steps: + type: integer n_epochs: type: integer optimizer_config: @@ -3010,6 +3012,7 @@ components: - n_epochs - max_steps_per_epoch - gradient_accumulation_steps + - max_validation_steps - data_config - optimizer_config type: object @@ -3192,6 +3195,14 @@ components: - embedding_model - chunk_size_in_tokens type: object + VersionInfo: + additionalProperties: false + properties: + version: + type: string + required: + - version + type: object ViolationLevel: enum: - info @@ -4731,6 +4742,25 @@ paths: description: OK tags: - Telemetry + /alpha/version: + get: + parameters: + - description: JSON-encoded provider data which will be made available to the + adapter servicing the API + in: header + name: X-LlamaStack-ProviderData + required: false + schema: + type: string + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/VersionInfo' + description: OK + tags: + - Inspect security: - Default: [] servers: @@ -5225,6 +5255,8 @@ tags: - description: name: VectorMemoryBankParams +- description: + name: VersionInfo - description: name: ViolationLevel - description: