📝 explain Ollama remote hosting in docs

This commit is contained in:
Nate Sesti 2024-04-29 16:02:01 -07:00
parent 3e68fd6d5f
commit 16bfb958f8

View file

@ -9,12 +9,15 @@
"title": "Ollama",
"provider": "ollama",
"model": "llama2-7b",
"completionOptions": {}
"completionOptions": {},
"apiBase": "http://localhost:11434"
}
]
}
```
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.
## Completion Options
In addition to the model type, you can also configure some of the parameters that Ollama uses to run the model.