correct embeddingsProvider schema
This commit is contained in:
parent
28b7a5accc
commit
ae428dbc98
4 changed files with 18 additions and 24 deletions
|
|
@ -42,7 +42,7 @@ We recommend configuring **Codestral** as your autocomplete model.
|
|||
We recommend configuring **text-embedding-3-large** as your embeddings model.
|
||||
|
||||
```json title="config.json"
|
||||
"embeddingsProvider": [{
|
||||
"embeddingsProvider": {
|
||||
"provider": "azure",
|
||||
"model": "text-embedding-3-large",
|
||||
"apiBase": "<YOUR_DEPLOYMENT_BASE>",
|
||||
|
|
@ -50,7 +50,7 @@ We recommend configuring **text-embedding-3-large** as your embeddings model.
|
|||
"apiVersion": "<YOUR_API_VERSION>",
|
||||
"apiType": "azure",
|
||||
"apiKey": "<MY_API_KEY>"
|
||||
}]
|
||||
}
|
||||
```
|
||||
|
||||
## Reranking model
|
||||
|
|
|
|||
|
|
@ -38,13 +38,11 @@ We recommend configuring **text-embedding-004** as your embeddings model.
|
|||
|
||||
```json title="config.json"
|
||||
{
|
||||
"embeddingsProvider": [
|
||||
{
|
||||
"provider": "gemini",
|
||||
"model": "models/text-embedding-004",
|
||||
"apiKey": "[API_KEY]"
|
||||
}
|
||||
]
|
||||
"embeddingsProvider": {
|
||||
"provider": "gemini",
|
||||
"model": "models/text-embedding-004",
|
||||
"apiKey": "[API_KEY]"
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
|
|
|
|||
|
|
@ -46,14 +46,12 @@ We recommend configuring **Mistral Embed** as your embeddings model.
|
|||
|
||||
```json title="config.json"
|
||||
{
|
||||
"embeddingsProvider": [
|
||||
{
|
||||
"provider": "mistral",
|
||||
"model": "mistral-embed",
|
||||
"apiKey": "[API_KEY]",
|
||||
"apiBase": "https://api.mistral.ai/v1"
|
||||
}
|
||||
]
|
||||
"embeddingsProvider": {
|
||||
"provider": "mistral",
|
||||
"model": "mistral-embed",
|
||||
"apiKey": "[API_KEY]",
|
||||
"apiBase": "https://api.mistral.ai/v1"
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
|
|
|
|||
|
|
@ -38,13 +38,11 @@ We recommend configuring **text-embedding-3-large** as your embeddings model.
|
|||
|
||||
```json title="config.json"
|
||||
{
|
||||
"embeddingsProvider": [
|
||||
{
|
||||
"provider": "openai",
|
||||
"model": "text-embedding-3-large",
|
||||
"apiKey": "[API_KEY]"
|
||||
}
|
||||
]
|
||||
"embeddingsProvider": {
|
||||
"provider": "openai",
|
||||
"model": "text-embedding-3-large",
|
||||
"apiKey": "[API_KEY]"
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue