> ## 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

> Cấu hình Ollama làm nhà cung cấp LLM cho việc tạo bản dịch.

## Giá trị nhà cung cấp

Sử dụng `ollama` trong `llm.profiles.<name>.provider`.

## Ví dụ về hồ sơ

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

## Các biến môi trường tùy chọn

`OLLAMA_BASE_URL` mặc định là `http://127.0.0.1:11434/v1`.

`OLLAMA_API_KEY` mặc định là `ollama`.
