speech_recognition icon indicating copy to clipboard operation
speech_recognition copied to clipboard

Allow prompt to be set when calling Whisper API

Open wronkiew opened this issue 3 years ago • 1 comments

Add a new 'params' parameter to the 'recognize_whisper_api' function, which allows the transcription prompt to be set by passing 'prompt='. This was implemented by passing the 'params' parameter to the Whisper speech recognition API.

wronkiew avatar Mar 23 '23 05:03 wronkiew

Nice! This would also allow to set for the language parameter 🚀

ericzakariasson avatar Apr 12 '23 12:04 ericzakariasson