Back to Prompt Library
implementation
Implement Real-time Audio Input Processing
Inspect the original prompt language first, then copy or adapt it once you know how it fits your workflow.
Linked challenge: Real-time Voice Assistant with Personalized Context
Format
Text-first
Lines
1
Sections
1
Linked challenge
Real-time Voice Assistant with Personalized Context
Prompt source
Original prompt text with formatting preserved for inspection.
1 lines
1 sections
No variables
0 checklist items
Design and implement the real-time audio input processing pipeline. This pipeline should take simulated audio streams, use the OpenAI Whisper API for transcription and speaker diarization, and feed the processed text into your OpenAI Agent. Describe how you would handle chunking and latency for a continuous conversation. Provide a conceptual Python snippet for streaming audio to Whisper and getting back diarized text.
Adaptation plan
Keep the source stable, then change the prompt in a predictable order so the next run is easier to evaluate.
Keep stable
Hold the task contract and output shape stable so generated implementations remain comparable.
Tune next
Update libraries, interfaces, and environment assumptions to match the stack you actually run.
Verify after
Test failure handling, edge cases, and any code paths that depend on hidden context or secrets.