mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-23 01:02:25 +00:00
add documents to turn
This commit is contained in:
parent
d0e8e1647b
commit
9efe30c9d3
9 changed files with 887 additions and 381 deletions
|
|
@ -3974,6 +3974,41 @@
|
|||
"stream": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"documents": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"content": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"$ref": "#/components/schemas/InterleavedContentItem"
|
||||
},
|
||||
{
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/InterleavedContentItem"
|
||||
}
|
||||
},
|
||||
{
|
||||
"$ref": "#/components/schemas/URL"
|
||||
}
|
||||
]
|
||||
},
|
||||
"mime_type": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"additionalProperties": false,
|
||||
"required": [
|
||||
"content",
|
||||
"mime_type"
|
||||
]
|
||||
}
|
||||
},
|
||||
"tools": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
|
|
|
|||
|
|
@ -618,6 +618,25 @@ components:
|
|||
properties:
|
||||
agent_id:
|
||||
type: string
|
||||
documents:
|
||||
items:
|
||||
additionalProperties: false
|
||||
properties:
|
||||
content:
|
||||
oneOf:
|
||||
- type: string
|
||||
- $ref: '#/components/schemas/InterleavedContentItem'
|
||||
- items:
|
||||
$ref: '#/components/schemas/InterleavedContentItem'
|
||||
type: array
|
||||
- $ref: '#/components/schemas/URL'
|
||||
mime_type:
|
||||
type: string
|
||||
required:
|
||||
- content
|
||||
- mime_type
|
||||
type: object
|
||||
type: array
|
||||
messages:
|
||||
items:
|
||||
oneOf:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue