mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-08-12 13:00:39 +00:00
Update OpenAPI
This commit is contained in:
parent
25613953d5
commit
378e1603b0
2 changed files with 25 additions and 11 deletions
20
docs/_static/llama-stack-spec.html
vendored
20
docs/_static/llama-stack-spec.html
vendored
|
@ -4929,11 +4929,21 @@
|
||||||
"description": "The identifier of the model to use. The model must be an embedding model registered with Llama Stack and available via the /models endpoint."
|
"description": "The identifier of the model to use. The model must be an embedding model registered with Llama Stack and available via the /models endpoint."
|
||||||
},
|
},
|
||||||
"contents": {
|
"contents": {
|
||||||
"type": "array",
|
"oneOf": [
|
||||||
"items": {
|
{
|
||||||
"$ref": "#/components/schemas/InterleavedContent"
|
"type": "array",
|
||||||
},
|
"items": {
|
||||||
"description": "List of contents to generate embeddings for. Note that content can be multimodal. The behavior depends on the model and provider. Some models may only support text."
|
"type": "string"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "array",
|
||||||
|
"items": {
|
||||||
|
"$ref": "#/components/schemas/InterleavedContentItem"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"description": "List of contents to generate embeddings for. Each content can be a string or an InterleavedContentItem (and hence can be multimodal). The behavior depends on the model and provider. Some models may only support text."
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"additionalProperties": false,
|
"additionalProperties": false,
|
||||||
|
|
16
docs/_static/llama-stack-spec.yaml
vendored
16
docs/_static/llama-stack-spec.yaml
vendored
|
@ -3224,13 +3224,17 @@ components:
|
||||||
The identifier of the model to use. The model must be an embedding model
|
The identifier of the model to use. The model must be an embedding model
|
||||||
registered with Llama Stack and available via the /models endpoint.
|
registered with Llama Stack and available via the /models endpoint.
|
||||||
contents:
|
contents:
|
||||||
type: array
|
oneOf:
|
||||||
items:
|
- type: array
|
||||||
$ref: '#/components/schemas/InterleavedContent'
|
items:
|
||||||
|
type: string
|
||||||
|
- type: array
|
||||||
|
items:
|
||||||
|
$ref: '#/components/schemas/InterleavedContentItem'
|
||||||
description: >-
|
description: >-
|
||||||
List of contents to generate embeddings for. Note that content can be
|
List of contents to generate embeddings for. Each content can be a string
|
||||||
multimodal. The behavior depends on the model and provider. Some models
|
or an InterleavedContentItem (and hence can be multimodal). The behavior
|
||||||
may only support text.
|
depends on the model and provider. Some models may only support text.
|
||||||
additionalProperties: false
|
additionalProperties: false
|
||||||
required:
|
required:
|
||||||
- model_id
|
- model_id
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue