Skip to content

Commit

Permalink
📝 update Ollama embeddings docs
Browse files Browse the repository at this point in the history
  • Loading branch information
sestinj committed May 22, 2024
1 parent 6b91fe5 commit fab8ab9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/docs/walkthroughs/codebase-embeddings.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}
Expand Down

0 comments on commit fab8ab9

Please sign in to comment.