feat(transcription): add support for alternative transcription backends #18
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "development_alternative_transcription_models"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
TranscriptionBackendenum tohero_slides_libwith Groq (default) and LocalModel variants~/.config/hero_slides/settings.jsonvia two new RPC methods:user.settings.getanduser.settings.savevoice.transcribeto read persisted settings and route to the correct backend/audio/transcriptionsendpoint with a configurable URL and model name (works with Whisper.cpp, Voxtral, etc.)Related Issue
Closes #16
Changes
crates/hero_slides_lib/src/voice.rs—TranscriptionBackendenum, HTTP multipart helper, updatedvoice_transcribesignaturecrates/hero_slides_server/src/rpc.rs—UserSettings/TranscriptionSettingsstructs, persistence helpers, two new RPC handlers, updatedhandle_voice_transcribecrates/hero_slides_server/openrpc.json— addeduser.settings.getanduser.settings.savemethod entriescrates/hero_slides_ui/templates/index.html— Transcription Settings admin sectioncrates/hero_slides_ui/static/js/dashboard.js—loadSettings,saveTranscriptionSettings,onTranscriptionBackendChangeTest Results
75 tests run, 74 passed, 0 failed (1 ignored — requires live AI service)