mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-08-05 18:22:41 +00:00
run openapi gen
This commit is contained in:
parent
b28e4002c9
commit
d7a161c820
2 changed files with 84 additions and 0 deletions
|
@ -2467,6 +2467,36 @@
|
||||||
"required": true
|
"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",
|
"jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema",
|
||||||
|
@ -6457,6 +6487,9 @@
|
||||||
"gradient_accumulation_steps": {
|
"gradient_accumulation_steps": {
|
||||||
"type": "integer"
|
"type": "integer"
|
||||||
},
|
},
|
||||||
|
"max_validation_steps": {
|
||||||
|
"type": "integer"
|
||||||
|
},
|
||||||
"data_config": {
|
"data_config": {
|
||||||
"$ref": "#/components/schemas/DataConfig"
|
"$ref": "#/components/schemas/DataConfig"
|
||||||
},
|
},
|
||||||
|
@ -6476,6 +6509,7 @@
|
||||||
"n_epochs",
|
"n_epochs",
|
||||||
"max_steps_per_epoch",
|
"max_steps_per_epoch",
|
||||||
"gradient_accumulation_steps",
|
"gradient_accumulation_steps",
|
||||||
|
"max_validation_steps",
|
||||||
"data_config",
|
"data_config",
|
||||||
"optimizer_config"
|
"optimizer_config"
|
||||||
]
|
]
|
||||||
|
@ -7686,6 +7720,18 @@
|
||||||
"required": [
|
"required": [
|
||||||
"model_id"
|
"model_id"
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
"VersionInfo": {
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"version": {
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"additionalProperties": false,
|
||||||
|
"required": [
|
||||||
|
"version"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"responses": {}
|
"responses": {}
|
||||||
|
@ -8382,6 +8428,10 @@
|
||||||
"name": "VectorMemoryBankParams",
|
"name": "VectorMemoryBankParams",
|
||||||
"description": "<SchemaDefinition schemaRef=\"#/components/schemas/VectorMemoryBankParams\" />"
|
"description": "<SchemaDefinition schemaRef=\"#/components/schemas/VectorMemoryBankParams\" />"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "VersionInfo",
|
||||||
|
"description": "<SchemaDefinition schemaRef=\"#/components/schemas/VersionInfo\" />"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "ViolationLevel",
|
"name": "ViolationLevel",
|
||||||
"description": "<SchemaDefinition schemaRef=\"#/components/schemas/ViolationLevel\" />"
|
"description": "<SchemaDefinition schemaRef=\"#/components/schemas/ViolationLevel\" />"
|
||||||
|
@ -8576,6 +8626,7 @@
|
||||||
"UserMessage",
|
"UserMessage",
|
||||||
"VectorMemoryBank",
|
"VectorMemoryBank",
|
||||||
"VectorMemoryBankParams",
|
"VectorMemoryBankParams",
|
||||||
|
"VersionInfo",
|
||||||
"ViolationLevel",
|
"ViolationLevel",
|
||||||
"WolframAlphaToolDefinition"
|
"WolframAlphaToolDefinition"
|
||||||
]
|
]
|
||||||
|
|
|
@ -3002,6 +3002,8 @@ components:
|
||||||
type: integer
|
type: integer
|
||||||
max_steps_per_epoch:
|
max_steps_per_epoch:
|
||||||
type: integer
|
type: integer
|
||||||
|
max_validation_steps:
|
||||||
|
type: integer
|
||||||
n_epochs:
|
n_epochs:
|
||||||
type: integer
|
type: integer
|
||||||
optimizer_config:
|
optimizer_config:
|
||||||
|
@ -3010,6 +3012,7 @@ components:
|
||||||
- n_epochs
|
- n_epochs
|
||||||
- max_steps_per_epoch
|
- max_steps_per_epoch
|
||||||
- gradient_accumulation_steps
|
- gradient_accumulation_steps
|
||||||
|
- max_validation_steps
|
||||||
- data_config
|
- data_config
|
||||||
- optimizer_config
|
- optimizer_config
|
||||||
type: object
|
type: object
|
||||||
|
@ -3192,6 +3195,14 @@ components:
|
||||||
- embedding_model
|
- embedding_model
|
||||||
- chunk_size_in_tokens
|
- chunk_size_in_tokens
|
||||||
type: object
|
type: object
|
||||||
|
VersionInfo:
|
||||||
|
additionalProperties: false
|
||||||
|
properties:
|
||||||
|
version:
|
||||||
|
type: string
|
||||||
|
required:
|
||||||
|
- version
|
||||||
|
type: object
|
||||||
ViolationLevel:
|
ViolationLevel:
|
||||||
enum:
|
enum:
|
||||||
- info
|
- info
|
||||||
|
@ -4731,6 +4742,25 @@ paths:
|
||||||
description: OK
|
description: OK
|
||||||
tags:
|
tags:
|
||||||
- Telemetry
|
- 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:
|
security:
|
||||||
- Default: []
|
- Default: []
|
||||||
servers:
|
servers:
|
||||||
|
@ -5225,6 +5255,8 @@ tags:
|
||||||
- description: <SchemaDefinition schemaRef="#/components/schemas/VectorMemoryBankParams"
|
- description: <SchemaDefinition schemaRef="#/components/schemas/VectorMemoryBankParams"
|
||||||
/>
|
/>
|
||||||
name: VectorMemoryBankParams
|
name: VectorMemoryBankParams
|
||||||
|
- description: <SchemaDefinition schemaRef="#/components/schemas/VersionInfo" />
|
||||||
|
name: VersionInfo
|
||||||
- description: <SchemaDefinition schemaRef="#/components/schemas/ViolationLevel" />
|
- description: <SchemaDefinition schemaRef="#/components/schemas/ViolationLevel" />
|
||||||
name: ViolationLevel
|
name: ViolationLevel
|
||||||
- description: <SchemaDefinition schemaRef="#/components/schemas/WolframAlphaToolDefinition"
|
- description: <SchemaDefinition schemaRef="#/components/schemas/WolframAlphaToolDefinition"
|
||||||
|
@ -5411,5 +5443,6 @@ x-tagGroups:
|
||||||
- UserMessage
|
- UserMessage
|
||||||
- VectorMemoryBank
|
- VectorMemoryBank
|
||||||
- VectorMemoryBankParams
|
- VectorMemoryBankParams
|
||||||
|
- VersionInfo
|
||||||
- ViolationLevel
|
- ViolationLevel
|
||||||
- WolframAlphaToolDefinition
|
- WolframAlphaToolDefinition
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue