> ## Documentation Index
> Fetch the complete documentation index at: https://hyperlocalise.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Ollama

> Configure Ollama as an LLM provider for translation generation.

## Provider value

Use `ollama` in `llm.profiles.<name>.provider`.

## Example profile

```json theme={null}
{
  "llm": {
    "profiles": {
      "default": {
        "provider": "ollama",
        "model": "qwen2.5:7b",
        "prompt": "Translate from {{source}} to {{target}}:\n\n{{input}}"
      }
    }
  }
}
```

## Optional environment variables

`OLLAMA_BASE_URL` defaults to `http://127.0.0.1:11434/v1`.

`OLLAMA_API_KEY` defaults to `ollama`.
