From the course: Agile Practices Using AI

Unlock this course with a free trial

Join today to access over 24,400 courses taught by industry experts.

Building blocks for generative AI with WhisperCPP (RAW)

Building blocks for generative AI with WhisperCPP (RAW)

From the course: Agile Practices Using AI

Building blocks for generative AI with WhisperCPP (RAW)

Here we have a diagram that shows how to create these building blocks for prompt engineering with the whisper cpp transcription library. Now, this is an important, but boring, detail that is easy to miss. But let's say you're a doctor and you have a lot of you know, patient files, for example, or transcriptions from maybe a session with a patient. So, how would you actually use this in a GUI system? Well, first up here you would take, let's say a video or an audio file and you would convert it to wave. And that's what this little bit of bash does here. It loops through, let's see a huge directory of different patients where you've had a conversation afterwards into a tape recorder. And then, afterwards, we are able to transcribe that because it's in the right format using whisper C++. And what's nice about whisper C++ is that it is optimized fast and it has lots of different models, including, you know, tiny models to regular models to giant models. But basically, it's got incredibly…

Contents