Skip to main content

Scenario

You have recorded meetings — sales calls, standups, strategy sessions — sitting as audio files. This job transcribes them with Whisper, then sends the transcript to Mavera’s Mave Agent for structured analysis: action items, decisions made, themes discussed, follow-up owners, and deadlines. Flow: OpenAI Whisper POST /audio/transcriptions → transcript text → Mavera POST /mave/chat → Structured meeting analysis

Code

Example Output

Error Handling

Whisper accepts files up to 25 MB. For longer recordings, split with ffmpeg -i meeting.mp3 -f segment -segment_time 600 -c copy chunk_%03d.mp3 and transcribe each chunk. Concatenate transcripts before sending to Mavera.
Whisper supports mp3, mp4, mpeg, mpga, m4a, wav, and webm. Convert other formats with ffmpeg -i input.ogg output.mp3 before uploading.
Whisper has per-minute request limits. If you get a 429, implement exponential backoff: time.sleep(2 ** attempt). Batch multiple files with 2-second gaps between requests.