Skip to content

Commit 4b3a8a3

Browse files
authored
Merge pull request #105 from togethercomputer/more-modalities
Add more input types for future modalities
2 parents 53b028f + 5a16067 commit 4b3a8a3

File tree

1 file changed

+42
-0
lines changed

1 file changed

+42
-0
lines changed

openapi.yaml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2017,6 +2017,48 @@ components:
20172017
required:
20182018
- type
20192019
- video_url
2020+
- type: object
2021+
title: Audio
2022+
properties:
2023+
type:
2024+
type: string
2025+
enum:
2026+
- audio_url
2027+
audio_url:
2028+
type: object
2029+
properties:
2030+
url:
2031+
type: string
2032+
description: The URL of the audio
2033+
required:
2034+
- url
2035+
required:
2036+
- type
2037+
- audio_url
2038+
- type: object
2039+
title: Input Audio
2040+
properties:
2041+
type:
2042+
type: string
2043+
enum:
2044+
- input_audio
2045+
input_audio:
2046+
type: object
2047+
properties:
2048+
data:
2049+
type: string
2050+
description: The base64 encoded audio data
2051+
format:
2052+
type: string
2053+
description: The format of the audio data
2054+
enum:
2055+
- wav
2056+
required:
2057+
- data
2058+
- format
2059+
required:
2060+
- type
2061+
- input_audio
20202062

20212063
ChatCompletionUserMessageContent:
20222064
description: The content of the message, which can either be a simple string or a structured format.

0 commit comments

Comments
 (0)