mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-06-28 02:53:30 +00:00
fixed attachment names
This commit is contained in:
parent
97f31c3871
commit
ae732c6a5c
1 changed files with 7 additions and 9 deletions
|
@ -512,29 +512,27 @@ components:
|
||||||
attachments:
|
attachments:
|
||||||
type: array
|
type: array
|
||||||
items:
|
items:
|
||||||
$ref: '#/components/schemas/MediaAttachment'
|
$ref: '#/components/schemas/Attachment'
|
||||||
metadata:
|
metadata:
|
||||||
type: object
|
type: object
|
||||||
additionalProperties: true
|
additionalProperties: true
|
||||||
description: "Additional metadata as JSON."
|
description: "Additional metadata as JSON."
|
||||||
MediaAttachment:
|
Attachment:
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
type:
|
type:
|
||||||
$ref: '#/components/schemas/MediaAttachmentType'
|
$ref: '#/components/schemas/AttachmentType'
|
||||||
kind:
|
kind:
|
||||||
$ref: '#/components/schemas/MediaAttachmentKind'
|
$ref: '#/components/schemas/AttachmentKind'
|
||||||
data:
|
data:
|
||||||
type: string
|
type: string
|
||||||
MediaAttachmentType:
|
AttachmentType:
|
||||||
type: string
|
type: string
|
||||||
enum:
|
enum:
|
||||||
- image
|
- image
|
||||||
- video
|
|
||||||
- audio
|
|
||||||
- text
|
- text
|
||||||
description: "Type of media attachment."
|
description: "Type of media attachment. Currently only support image and text."
|
||||||
MediaAttachmentKind:
|
AttachmentKind:
|
||||||
type: string
|
type: string
|
||||||
enum:
|
enum:
|
||||||
- raw_bytes
|
- raw_bytes
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue