Expand description
STT/TTS fallback chains: local-first with cloud fallback.
SttFallbackChain tries local STT first, falling back to a cloud
provider when the local result has low confidence or errors.
TtsFallbackChain tries local TTS first, falling back on error.
Structs§
- Local
SttResult - Result from a local STT transcription.
- SttFallback
Chain - Fallback chain for STT: local -> cloud on failure or low confidence.
- SttFallback
Result - Combined result from the STT fallback chain.
- TtsFallback
Chain - Fallback chain for TTS: local -> cloud on error.
- TtsFallback
Result - Combined result from the TTS fallback chain.
Enums§
Traits§
- Local
SttEngine - Trait for the local STT engine (e.g., sherpa-rs based).
- Local
TtsEngine - Trait for the local TTS engine (e.g., sherpa-rs piper).