Skip to content
This repository was archived by the owner on Jul 1, 2024. It is now read-only.

Commit 486001c

Browse files
committed
Fri Apr 19 20:01:18 PDT 2024
1 parent 3354bdd commit 486001c

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

ollama/README.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Ollama add-on for Home Assistant
2+
This is the Ollama add-on for Home Assistant.
3+
4+
Models are stored in `/config/ollama`.
5+
6+
Utilize the `OLLAMA_HOST="http://homeassistant.local:11434"` environment variable to use Ollama CLI on another machine.
7+
8+
Refer to the [Ollama documentation](https://github.com/ollama/ollama/tree/main/docs) for further details..
9+
10+
Example for pulling models:
11+
12+
Using Ollama CLI:
13+
```bash
14+
export OLLAMA_HOST="http://homeassistant.local:11434"
15+
ollama pull nomic-text-embed
16+
```
17+
18+
Using curl:
19+
```bash
20+
curl http://homeassistant.local:11434/api/pull -d '{
21+
"name": "nomic-text-embed"
22+
}'
23+
```

0 commit comments

Comments
 (0)