Added example of remote instance configuration

This commit is contained in:
Roger Öberg 2025-01-04 22:47:56 +01:00 • committed by GitHub
parent 26b9315c3a
commit 69b5d07e05
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -53,3 +53,20 @@ We recommend configuring **Nomic Embed Text** as your embeddings model.
Ollama currently does not offer any reranking models.
[Click here](../../model-types/reranking.md) to see a list of reranking model providers.
## Setting up a remote instance
To configure a remote instance of Ollama, add the `"apiBase"` property to your model in config.json:
```json title="config.json"
{
"models": [
{
"title": "Llama3.1 8B",
"provider": "ollama",
"model": "llama3.1:8b"
"apiBase": "http://<my endpoint>:11434"
}
]
}
```