Voice Recipes
Task-oriented patterns for common voice scenario authoring. Each recipe shows the minimal code and explains which adapter capabilities it depends on.
| Recipe | When to use |
|---|---|
| Interruptions | Script a user barging in mid-reply; understand native barge-in vs VAD fallback. |
| Multi-Turn Conversations | Script multi-turn exchanges and assert cross-turn continuity with JudgeAgent. |
| Audio Effects | Inject background noise, codec degradation, and other impairments via scenario.effects. |
| Observability | Capture audio events, save conversation audio, and measure LatencyMetrics per turn. |
See also
- How to choose an adapter — pick the adapter that matches your stack.
- Capability matrix — which adapters support interruption, DTMF, streaming transcripts, etc.
- Troubleshooting — diagnose common failure modes.
