Skip to content

Commit

Permalink
πŸ“ fix name -> provider in codebase embeddings docs
Browse files Browse the repository at this point in the history
  • Loading branch information
sestinj committed Jan 13, 2024
1 parent a3c6d04 commit 5b56150
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/docs/walkthroughs/codebase-embeddings.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ We also support other methods of generating embeddings, which can be configured
```json title="~/.continue/config.json"
{
"embeddingsProvider": {
"name": "transformers.js"
"provider": "transformers.js"
}
}
```
Expand All @@ -64,7 +64,7 @@ We also support other methods of generating embeddings, which can be configured
```json title="~/.continue/config.json"
{
"embeddingsProvider": {
"name": "ollama",
"provider": "ollama",
"model": "codellama:7b",
"apiBase": "http://localhost:11434" // optional, defaults to http://localhost:11434
}
Expand All @@ -76,7 +76,7 @@ We also support other methods of generating embeddings, which can be configured
```json title="~/.continue/config.json"
{
"embeddingsProvider": {
"name": "openai",
"provider": "openai",
"model": "text-embedding-ada-002", // optional, defaults to "text-embedding-ada-002"
"apiBase": "<your custom OpenAI-compatible endpoint>" // optional, defaults to OpenAI's API
}
Expand Down

0 comments on commit 5b56150

Please sign in to comment.