Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 1 addition & 15 deletions learn/chat/getting_started_with_chat.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ curl \

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

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

Expand Down Expand Up @@ -142,20 +142,6 @@ curl \
}'
```

```bash Gemini
curl \
-X PATCH 'MEILISEARCH_URL/chats/WORKSPACE_NAME/settings' \
-H 'Authorization: Bearer MEILISEARCH_KEY' \
-H 'Content-Type: application/json' \
--data-binary '{
"source": "gemini",
"apiKey": "PROVIDER_API_KEY",
"prompts": {
"system": "You are a helpful assistant. Answer questions based only on the provided context."
}
}'
```

```bash vLLM
curl \
-X PATCH 'MEILISEARCH_URL/chats/WORKSPACE_NAME/settings' \
Expand Down
18 changes: 2 additions & 16 deletions reference/api/chats.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ Workspaces are groups of chat settings tailored towards specific use cases. You

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

#### `orgId`

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

| Name | Type | Description |
| :---------------- | :----- | :---------------------------------------------------------------------------- |
| [`source`](#source) | String | LLM source: `"openAi"`, `"azureOpenAi"`, `"mistral"`, `"gemini"`, or `"vLlm"` |
| [`source`](#source) | String | LLM source: `"openAi"`, `"azureOpenAi"`, `"mistral"`, or `"vLlm"` |
| [`orgId`](#orgid) | String | Organization ID for the LLM provider |
| [`projectId`](#projectid) | String | Project ID for the LLM provider |
| [`apiVersion`](#apiversion) | String | API version for the LLM provider |
Expand Down Expand Up @@ -331,20 +331,6 @@ curl \
}'
```

```bash gemini
curl \
-X PATCH 'http://localhost:7700/chats/customer-support/settings' \
-H 'Authorization: Bearer MEILISEARCH_KEY' \
-H 'Content-Type: application/json' \
--data-binary '{
"source": "gemini",
"apiKey": "your-gemini-api-key",
"prompts": {
"system": "You are a helpful customer support assistant."
}
}'
```

```bash vLlm
curl \
-X PATCH 'http://localhost:7700/chats/customer-support/settings' \
Expand Down