📝 update Ollama embeddings docs
This commit is contained in:
parent
6b91fe5903
commit
fab8ab9895
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue