Voice & language

Voice is a work in progress 🐞 Expect rough edges.

Voice

Mic dictation and spoken replies work in local mode, by default through a Speaches AI server. Any compatible STT/TTS provider works: the models go in models.toml, the endpoint in settings.toml. Ticking Speaches in the setup wizard writes both.

  1. Run a Speaches server (or an equivalent).
  2. Declare the models in models.toml:

    [providers.speaches]
    base_url = "http://localhost:8000"
    
    [models.kokoro-82m-v1-0-onnx-fp16]
    model = "speaches-ai/Kokoro-82M-v1.0-ONNX-fp16"
    provider = "speaches"
    tasks = ["tts"]
    
    [models.faster-whisper-small]
    model = "Systran/faster-whisper-small"
    provider = "speaches"
    tasks = ["stt"]
    
  3. Point settings.toml at the server:

    [stt]
    speachesUrl = "ws://localhost:8000"
    
    [tts]
    speachesUrl = "http://localhost:8000"
    voice = "af_heart"
    

    Dictation uses the realtime WebSocket API (ws://) and spoken replies use plain HTTP, hence the two schemes.

Then Ctrl+T toggles dictation while you type, and preferences.voice = true reads replies aloud.

Language

The interface and the assistant’s replies follow preferences.locale:

Code Language
en-GB British English
en-US American English
hu-HU Magyar
nan-TW 臺語 (Taiwanese Hokkien)
zh-TW 繁體中文
es-ES Español
ja-JP 日本語
ko-KR 한국어
de-DE Deutsch
fr-FR Français
pt-BR Português (Brasil)

The wizard asks first. With no saved value, your system locale decides (LC_ALL, LC_MESSAGES or LANG), and anything unsupported becomes British English. In cloud mode your account’s language is used.

Dictation follows your language unless stt.language says otherwise. Spoken replies use the configured Kokoro voice, which has no Hungarian; for that, put a tts model that has one above it in models.toml.


Next:

Sandbox