diff --git a/docs/quick-start/assets/Postman-Local-Whisper.png b/docs/quick-start/assets/Postman-Local-Whisper.png deleted file mode 100644 index fda74b76..00000000 Binary files a/docs/quick-start/assets/Postman-Local-Whisper.png and /dev/null differ diff --git a/docs/quick-start/assets/Result-Local-Whisper.png b/docs/quick-start/assets/Result-Local-Whisper.png new file mode 100644 index 00000000..225e3463 Binary files /dev/null and b/docs/quick-start/assets/Result-Local-Whisper.png differ diff --git a/docs/quick-start/assets/Steps-Local-Whisper.png b/docs/quick-start/assets/Steps-Local-Whisper.png new file mode 100644 index 00000000..eee14de2 Binary files /dev/null and b/docs/quick-start/assets/Steps-Local-Whisper.png differ diff --git a/docs/utilities/local-whisper.md b/docs/utilities/local-whisper.md index 7419bcf6..491e5398 100644 --- a/docs/utilities/local-whisper.md +++ b/docs/utilities/local-whisper.md @@ -20,11 +20,15 @@ BotSharp offers support for the following Whisper model types through the use of - LargeV2 - LargeV3 -The `NativeWhisperProvider` is designed to process all input audio files using the local Whisper model. Users have the ability to set the file path for audio files, with current support for mp3 and wav formats only, and specify the corresponding Whisper model type. By default, the TinyEn model type is used for transcribing audio into text, but this can be customized based on the user's requirements. This flexibility allows BotSharp to efficiently handle various transcription needs, ensuring accurate and reliable text outputs from audio inputs. +The `NativeWhisperProvider` is designed to process all input audio files using the local Whisper model. Users have the ability to set the file path for audio files, with current support for mp3 and wav formats only. By default, the TinyEn model type is used for transcribing audio into text, but this can be customized based on the user's requirements. This flexibility allows BotSharp to efficiently handle various transcription needs, ensuring accurate and reliable text outputs from audio inputs. -Once program starts, you can define audio file path: `{{BotSharpLocalHost}}/audio/transcript?audioInputString=YOUR_OWN_AUDIO_PATH`. +Once program starts, you can upload your audio file in the ChatUI. -![Postman](assets/Postman-Local-Whisper.png) +![Upload Audio in the ChatUI](assets/Steps-Local-Whisper.png) + +The transcript will be displayed in the response. + +![Response of Whisper Model](assets/Result-Local-Whisper.png) ### Response Time When using a CPU locally, the response time is impressively fast. For instance, it can transcribe a 10-minute audio clip into text in approximately 30 seconds. For shorter audio files, ranging from 3 to 5 minutes, the transcription response is even quicker. \ No newline at end of file