Skip to content

Commit

Permalink
docs: fix openai/embedding example for remote embedding provider (#2396)
Browse files Browse the repository at this point in the history
  • Loading branch information
wsxiaoys authored Jun 12, 2024
1 parent 76121d6 commit f44d6d9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion website/docs/administration/context/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,9 @@ You can add also a remote embedding model provider by adding a new section to th
```toml
[model.embedding.http]
kind = "openai/embedding"
api_endpoint = "https://api.openai.com"
api_key = "sk-..."
model_name = "gpt-4"
model_name = "text-embedding-3-small"
```

Following embedding model providers are supported:
Expand Down

0 comments on commit f44d6d9

Please sign in to comment.