Skip to content

Commit 16bfb95

Browse files
committedApr 29, 2024·
📝 explain Ollama remote hosting in docs
1 parent 3e68fd6 commit 16bfb95

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed
 

‎docs/docs/reference/Model Providers/ollama.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,15 @@
99
"title": "Ollama",
1010
"provider": "ollama",
1111
"model": "llama2-7b",
12-
"completionOptions": {}
12+
"completionOptions": {},
13+
"apiBase": "http://localhost:11434"
1314
}
1415
]
1516
}
1617
```
1718

19+
If you'd like to host Ollama on another machine, you can set it up as described in the [Ollama FAQ](https://github.com/ollama/ollama/blob/main/docs/faq.md#how-can-i-expose-ollama-on-my-network), and then set `"apiBase"` to match the IP address / port of that machine.
20+
1821
## Completion Options
1922

2023
In addition to the model type, you can also configure some of the parameters that Ollama uses to run the model.

0 commit comments

Comments
 (0)