File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5305,6 +5305,57 @@ components:
53055305 - type
53065306 - image_url
53075307 type: object
5308+ ContentPartInputAudio:
5309+ example:
5310+ input_audio:
5311+ data: data:audio/wav;base64,UklGRiQAAABXQVZFZm10IBAAAAA...
5312+ format: wav
5313+ type: input_audio
5314+ properties:
5315+ input_audio:
5316+ $ref: '#/components/schemas/MultimodalMedia'
5317+ type:
5318+ enum:
5319+ - input_audio
5320+ type: string
5321+ required:
5322+ - type
5323+ - input_audio
5324+ type: object
5325+ ContentPartInputFile:
5326+ example:
5327+ input_file:
5328+ data: data:application/pdf;base64,JVBERi0xLjQKJeLjz9MKMyAw...
5329+ format: pdf
5330+ type: input_file
5331+ properties:
5332+ input_file:
5333+ $ref: '#/components/schemas/MultimodalMedia'
5334+ type:
5335+ enum:
5336+ - input_file
5337+ type: string
5338+ required:
5339+ - type
5340+ - input_file
5341+ type: object
5342+ ContentPartInputVideo:
5343+ example:
5344+ input_video:
5345+ data: data:video/mp4;base64,AAAAGGZ0eXBtcDQyAAAAAGlzb21tcDQy...
5346+ format: mp4
5347+ type: input_video
5348+ properties:
5349+ input_video:
5350+ $ref: '#/components/schemas/MultimodalMedia'
5351+ type:
5352+ enum:
5353+ - input_video
5354+ type: string
5355+ required:
5356+ - type
5357+ - input_video
5358+ type: object
53085359 ContextCompressionEngine:
53095360 description: The compression engine to use. Defaults to "middle-out".
53105361 enum:
@@ -10195,6 +10246,18 @@ components:
1019510246 required:
1019610247 - id
1019710248 type: object
10249+ MultimodalMedia:
10250+ example:
10251+ data: data:audio/wav;base64,UklGRiQAAABXQVZFZm10IBAAAAA...
10252+ format: wav
10253+ properties:
10254+ data:
10255+ type: string
10256+ format:
10257+ type: string
10258+ required:
10259+ - data
10260+ type: object
1019810261 NotFoundResponse:
1019910262 description: Not Found - Resource does not exist
1020010263 example:
@@ -17734,6 +17797,9 @@ paths:
1773417797 - type
1773517798 - image_url
1773617799 type: object
17800+ - $ref: '#/components/schemas/ContentPartInputAudio'
17801+ - $ref: '#/components/schemas/ContentPartInputVideo'
17802+ - $ref: '#/components/schemas/ContentPartInputFile'
1773717803 type: array
1773817804 required:
1773917805 - content
@@ -17861,6 +17927,9 @@ paths:
1786117927 audio_tokens:
1786217928 description: Number of audio tokens in the input
1786317929 type: integer
17930+ file_tokens:
17931+ description: Number of file/document tokens in the input
17932+ type: integer
1786417933 image_tokens:
1786517934 description: Number of image tokens in the input
1786617935 example: 258
You can’t perform that action at this time.
0 commit comments