mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2026-09-06 04:51:17 +02:00
added multilingual support for whisper
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user