Documentation
¶
Overview ¶
Command features-processor-usable shows processor health, and what a bot does about it.
Every processor says whether it can still do its job (Usable), raises processor.EventUsableChanged when that changes, and stamps each error it reports with a category saying what kind of failure it was. This bot watches each processor and says which one is in trouble and what to check, runs the TTS behind a failover ServiceSwitcher so losing Cartesia falls over to ElevenLabs, and ends once a processor can no longer do its job (pipeline.UnusableEnd).
DEEPGRAM_API_KEY=… CARTESIA_API_KEY=… ELEVENLABS_API_KEY=… \ OPENAI_API_KEY=… go run ./examples/features/features-processor-usable
ELEVENLABS_VOICE_ID optionally picks the ElevenLabs voice. Then open http://localhost:7860 and connect.