Set a tone per application¶
App profiles let you configure the tone of your dictated text depending on which application you are speaking into — casual in a chat window, formal in an email client, verbatim in a terminal. Like everything else in YazSes, it runs entirely offline.
Examples¶
You configure it in your config.toml file under the [profiles.app] section. You can match the window class using standard wildcard (*) patterns.
1. Casual Chat¶
When speaking into Discord or Slack, you might want the LLM to rewrite your text in a more casual, friendly tone.
2. Formal Emails¶
For an email client like Thunderbird or Outlook, or a professional word processor, you can enforce a formal tone.
3. Verbatim Mode for Terminals¶
For IDEs and terminals where you want dictation inserted exactly as heard with no formatting, you can use the verbatim mode. This bypasses all text formatting passes.
4. Custom Prompts¶
You can also supply your own custom LLM prompt directly in the configuration.
How It Works¶
When you stop holding the dictation key, YazSes resolves the window you are focused on and checks for a match. If [filters.disfluency] llm_enabled = true is set, YazSes will then run the rewrite pass using the specific tone you have configured. If verbatim is chosen, the engine skips any processing entirely. Unknown apps get the standard cleaning pass if enabled.