mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2025-09-10 17:14:36 +00:00
added multilingual support for whisper
This commit is contained in:
parent
0cb599546e
commit
91b6e29af3
6 changed files with 49 additions and 8 deletions
|
@ -1344,6 +1344,8 @@
|
|||
"application/json": {
|
||||
"example": {
|
||||
"prompt": "",
|
||||
"suppress_non_speech" : false,
|
||||
"langcode": "en",
|
||||
"audio_data": "base64_wav_data",
|
||||
},
|
||||
"schema": {
|
||||
|
@ -1351,6 +1353,18 @@
|
|||
"audio_data": {
|
||||
"type": "string",
|
||||
"description": "Base64 respresentation of a 16-bit 16kHz wave file to be transcribed to text."
|
||||
},
|
||||
"prompt": {
|
||||
"type": "string",
|
||||
"description": "Prompt to steer the transcription."
|
||||
},
|
||||
"langcode": {
|
||||
"type": "string",
|
||||
"description": "Two letter language code, or use auto to autodetect."
|
||||
},
|
||||
"suppress_non_speech": {
|
||||
"type": "boolean",
|
||||
"description": "Prevent noise tokens, always generate words for speech."
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue