Module stt_provider

Module stt_provider 

Source
Expand description

Speech-to-text provider abstraction.

This mirrors the llm_provider module: a small trait, provider implementations, and a selection function based on AppConfig.

Structs§

LocalWhisperProvider
Local Whisper provider (whisper-rs / whisper.cpp models).
OpenAiSttProvider
OpenAI (or OpenAI-compatible) STT provider.
UnconfiguredSttProvider
A provider that returns a helpful error when STT is not configured.

Traits§

SttProvider
Unified STT interface (async).

Functions§

select_provider
Select an STT provider from app configuration.
select_provider_with_session_voice_config
Select an STT provider from configuration, applying optional per-session voice overrides.