📝 update Ollama embeddings docs

This commit is contained in:
Nate Sesti 2024-05-22 16:18:07 -07:00
parent 6b91fe5903
commit fab8ab9895

View file

@ -82,13 +82,13 @@ We also support other methods of generating embeddings, which can be configured
### Ollama
[Ollama](https://ollama.ai) is the easiest way to get up and running with open-source language models. It provides an entirely local REST API for working with LLMs, including generating embeddings. The embeddings generated are slightly larger, with a size of 4096 for `codellama:7b`.
[Ollama](https://ollama.ai) is the easiest way to get up and running with open-source language models. It provides an entirely local REST API for working with LLMs, including generating embeddings. We recommend using an embeddings model like `nomic-embed-text`:
```json title="~/.continue/config.json"
{
"embeddingsProvider": {
"provider": "ollama",
"model": "codellama:7b",
"model": "nomic-embed-text",
"apiBase": "http://localhost:11434" // optional, defaults to http://localhost:11434
}
}