feat(tts): Implement naive response_format for tts endpoint (#4035)

Signed-off-by: n-Arno <arnaud.alcabas@gmail.com>
This commit is contained in:
Arnaud A
2024-11-02 20:13:35 +01:00
committed by GitHub
parent 57908df956
commit 65c3df392c
6 changed files with 61 additions and 9 deletions
+5 -1
View File
@@ -1721,7 +1721,11 @@ const docTemplate = `{
"voice": {
"description": "voice audio file or speaker id",
"type": "string"
}
},
"response_format": {
"description": "(optional) output format of generated audio file, defaults to wav, accept wav, mp3, flac, aac, opus",
"type": "string"
},
}
},
"schema.ToolCall": {
+5 -1
View File
@@ -1714,6 +1714,10 @@
"voice": {
"description": "voice audio file or speaker id",
"type": "string"
},
"response_format": {
"description": "(optional) output format of generated audio file, defaults to wav, accept wav, mp3, flac, aac, opus",
"type": "string"
}
}
},
@@ -1742,4 +1746,4 @@
"in": "header"
}
}
}
}
+3
View File
@@ -679,6 +679,9 @@ definitions:
voice:
description: voice audio file or speaker id
type: string
response_format:
description: (optional) output format of generated audio file, defaults to wav, accept wav, mp3, flac, aac, opus
type: string
type: object
schema.ToolCall:
properties: