Skip to content

Prompt Mode

Prompt Mode

Prompt Mode (previously called LLM Connect) lets you post-process your transcription with a Large Language Model, running locally or on a server before it's inserted. This is useful for translation, grammar correction, medical formatting, code generation, and more.

Requirements

You need access to one of:

  • Ollama - Free, runs on your machine
  • OpenAI-compatible - LM Studio, Magnitude, llama.cpp, vLLM, or a cloud provider.

Setup with Ollama

1. Install Ollama

Download from ollama.com and install it, then make sure Ollama is running.

2. Open the Prompt Mode onboarding in Murmure

  1. Open Murmure > Extensions > Prompt Mode (or Settings > Prompt Mode) and click Enable Prompt Mode
  2. Follow the 3-step onboarding wizard. First click Choose Ollama
  3. Install Ollama: Murmure verifies the connection to Ollama
  4. Choose the model: Murmure presents a list of recommended models with hardware requirements. Click a model card to download it, Murmure handles the download directly, showing a progress bar as the model is pulled from Ollama
  5. Once the model is chosen, click Finish Setup to complete the setup

Model recommendations by hardware:

Recommended VRAM Recommended Model Notes
4 GB qwen3.5:4b Lightweight, basic corrections
7 GB ministral-3:latest Strong reasoning (Ministral 3 8B)
8 GB qwen3.5:latest Best instruction following (Qwen 3.5 9B)

No GPU = Slow

Without a GPU, LLM inference is very slow. For a practical experience, you need either a GPU with sufficient VRAM or a fast CPU with enough RAM.

Verify Ollama is Working

# Check Ollama is running
ollama list

# Check which model is loaded and GPU usage
ollama ps

If ollama ps shows "0% GPU", inference will be CPU-only and slow.

Setup with OpenAI-compatible

Murmure supports any OpenAI-compatible API: LM Studio, Magnitude, llama.cpp, vLLM, or a cloud provider. The server can run on your computer, on your network, or online.

  1. Open Murmure > Extensions > Prompt Mode and click Enable Prompt Mode
  2. Follow the 3-step onboarding wizard. First click Choose OpenAI-compatible
  3. Enter the server URL. See the examples below
  4. Choose the model: pick it from the list (Murmure fetches the available models from the server), or type the exact model name in the field if your server does not provide a model list, for example claude-haiku-4-5
  5. Click Finish Setup to complete the setup

URL examples:

  • LM Studio: http://localhost:1234/v1
  • Magnitude: http://127.0.0.1:10100/inference/v1
  • llama.cpp (llama-server): http://localhost:<port>/v1. Use the port displayed by llama-server when it starts, as the default port depends on the version

Privacy

Murmure shows a privacy warning for this option only when the URL is not local or private (anything other than localhost, 127.0.0.1, 10.x, 192.168.x or 172.16 to 172.31.x). A local OpenAI-compatible server stays private.

Ollama on another machine

If you host Ollama on another machine, use the Ollama option with a URL such as http://your-server:11434/api, and make sure OLLAMA_HOST=0.0.0.0 is set on the server so it accepts network connections.

You can mix providers across your prompts - for example, Prompt 1 using Ollama and Prompt 2 using OpenAI-compatible.

Prompt Mode advanced configuration

Prompt Templates

Prompt Mode supports multiple saved prompts, up to 4. Each prompt can have its own:

  • Provider (Ollama or OpenAI-compatible)
  • Model
  • System prompt
  • User prompt (with {{text}} placeholder for the transcription)

Built-in Presets

  • Translation - Translate transcription to another language
  • Medical - Format for medical dictation (INN terminology)
  • Development - Format for code-related dictation
  • Voice Dictation - Clean up spoken text for written form

Custom Prompts

Write your own system prompt to customize behavior. The {{text}} placeholder in the user prompt is replaced with your transcription.

Example - Fix grammar and punctuation:

System prompt:

You are a French text editor. Fix grammar, spelling, and punctuation.
Output only the corrected text, nothing else.

User prompt:

{{text}}

Two Ways to Use a Prompt

Each prompt's tab shows a small bar above the prompt editor, with one entry per gesture and a help icon that explains its steps.

Gesture Input Instruction
Dictate your voice the prompt's saved text
Transform selected text the prompt's saved text, applied instantly

Dictate

Each of the 4 prompts has its own keyboard shortcut for Dictate (Ctrl+Shift+1 through Ctrl+Shift+4 by default). Pressing one starts recording immediately, and the prompt is applied to your speech in a single action.

Transform

Each prompt also has its own, independent shortcut for Transform (Ctrl+Alt+Shift+1 through Ctrl+Alt+Shift+4 by default). Select text in any application, press the shortcut, and the saved prompt is applied directly to your selection, no dictation needed. A sound and a wave animation play while the model processes your selection.

If nothing is selected, Murmure shows a toast asking you to select text first and makes no LLM call. If the LLM call fails, your selection is left untouched.

If a prompt is empty, Dictate and Transform show a toast: "Prompt N is not configured. Open Prompt Mode to set it up."

Command

Command is not one of the prompts. It has its own page in Extensions > Command Mode and its own model, so switching prompts never changes the model used by your commands. See Commands.

Prompt Mode and Command Mode are turned on separately, each from its own page. The model setup is shared, so once it is done from one page, the other page only needs to be turned on. Turning an extension off keeps your prompts, models and servers.

Shortcuts

Dictate and Transform shortcuts are independent and configurable per prompt in Settings > Shortcuts, listed as Dictate with {prompt name} and Transform with {prompt name}. Each can be rebound to any key combination, including a mouse button or an F13-F24 key.

On Linux Wayland, where the compositor owns keyboard shortcuts, use the CLI instead: murmure --llm-mode <N> for Dictate and murmure --llm-transform <N> for Transform. See CLI.

Known Issues

  • Some models wrap output in quotes or add <think> tags. The most effective fix is to create a custom Formatting Rule with regex to strip them automatically (e.g., <think>[\s\S]*?</think> replaced by nothing). You can also try adding "Output only the result, no quotes, no thinking" to your prompt, or switch to recommended models (Qwen, Ministral).
  • macOS: The default Dictate shortcuts (Ctrl+Shift+1..4) may leak characters on macOS. If this occurs, rebind them to modifier-only combos in Settings > Shortcuts.

See Prompt Mode Troubleshooting for more help.