features-processor-usable

command
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 27, 2026 License: BSD-2-Clause Imports: 18 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL