Skip to content

Commit bb26157

Browse files
authored
Merge pull request #3466 from meilisearch/remove-gemini-mentions-from-chat
Remove gemini mentions from conversational search guide and chat api ref
2 parents d223036 + 3e9c90f commit bb26157

2 files changed

Lines changed: 3 additions & 31 deletions

File tree

learn/chat/getting_started_with_chat.mdx

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ curl \
8888

8989
The next step is to create a workspace. Chat completion workspaces are isolated configurations targeting different use cases. Each workspace can:
9090

91-
- Use different embedding providers (OpenAI, Azure OpenAI, Mistral, Gemini, vLLM)
91+
- Use different embedding providers (OpenAI, Azure OpenAI, Mistral, vLLM)
9292
- Establish separate conversation contexts via baseline prompts
9393
- Access a specific set of indexes
9494

@@ -142,20 +142,6 @@ curl \
142142
}'
143143
```
144144

145-
```bash Gemini
146-
curl \
147-
-X PATCH 'MEILISEARCH_URL/chats/WORKSPACE_NAME/settings' \
148-
-H 'Authorization: Bearer MEILISEARCH_KEY' \
149-
-H 'Content-Type: application/json' \
150-
--data-binary '{
151-
"source": "gemini",
152-
"apiKey": "PROVIDER_API_KEY",
153-
"prompts": {
154-
"system": "You are a helpful assistant. Answer questions based only on the provided context."
155-
}
156-
}'
157-
```
158-
159145
```bash vLLM
160146
curl \
161147
-X PATCH 'MEILISEARCH_URL/chats/WORKSPACE_NAME/settings' \

reference/api/chats.mdx

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ Workspaces are groups of chat settings tailored towards specific use cases. You
6868

6969
**Type**: String<br />
7070
**Default value**: N/A<br />
71-
**Description**: Name of the chosen embeddings provider. Must be one of: `"openAi"`, `"azureOpenAi"`, `"mistral"`, `"gemini"`, or `"vLlm"`
71+
**Description**: Name of the chosen embeddings provider. Must be one of: `"openAi"`, `"azureOpenAi"`, `"mistral"`, or `"vLlm"`
7272

7373
#### `orgId`
7474

@@ -245,7 +245,7 @@ If a workspace does not exist, querying this endpoint will create it.
245245

246246
| Name | Type | Description |
247247
| :---------------- | :----- | :---------------------------------------------------------------------------- |
248-
| [`source`](#source) | String | LLM source: `"openAi"`, `"azureOpenAi"`, `"mistral"`, `"gemini"`, or `"vLlm"` |
248+
| [`source`](#source) | String | LLM source: `"openAi"`, `"azureOpenAi"`, `"mistral"`, or `"vLlm"` |
249249
| [`orgId`](#orgid) | String | Organization ID for the LLM provider |
250250
| [`projectId`](#projectid) | String | Project ID for the LLM provider |
251251
| [`apiVersion`](#apiversion) | String | API version for the LLM provider |
@@ -331,20 +331,6 @@ curl \
331331
}'
332332
```
333333

334-
```bash gemini
335-
curl \
336-
-X PATCH 'http://localhost:7700/chats/customer-support/settings' \
337-
-H 'Authorization: Bearer MEILISEARCH_KEY' \
338-
-H 'Content-Type: application/json' \
339-
--data-binary '{
340-
"source": "gemini",
341-
"apiKey": "your-gemini-api-key",
342-
"prompts": {
343-
"system": "You are a helpful customer support assistant."
344-
}
345-
}'
346-
```
347-
348334
```bash vLlm
349335
curl \
350336
-X PATCH 'http://localhost:7700/chats/customer-support/settings' \

0 commit comments

Comments
 (0)