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

# Ollama

[Ollama](https://github.com/ollama/ollama) 可以让你在本地运行 Llama 3 等开源大语言模型。

## 准备工作

安装 Ollama 并下载模型。

## 配置

<img src="https://mintcdn.com/chathub-5dac209e/ozs4YL2c0N1LB4gO/images/custom-bots/ollama.png?fit=max&auto=format&n=ozs4YL2c0N1LB4gO&q=85&s=bf8179f8a3524e648e3b0cfc85407275" alt="" width="1318" height="1064" data-path="images/custom-bots/ollama.png" />

本示例使用 `gemma2` 模型。

API 密钥为必填项，但不会被使用，因此可以填写任意字符串。
