vinibgoulart / wpp-playground

Whatsapp playground
32 stars 14 forks source link

feat: add transcript audio command #42

Closed mauvieira closed 2 weeks ago

mauvieira commented 2 weeks ago

Audio Transcription using OpenAI

Transcription of quoted audio messages in WhatsApp using the Whisper API from OpenAI. The transcription is supported for various audio formats and is integrated into the existing middleware architecture.

Usage

The transcription process is triggered when a user quotes an audio message using the command !transcript The bot downloads the quoted audio, saves it, transcribes it using the Whisper API, and replies with the transcribed text.