@@ -70,7 +70,7 @@ Create a workspace with your LLM provider settings. Here are examples for differ
7070
7171``` bash openAi
7272curl \
73- -X PUT ' http://localhost:7700/chats/my-assistant/settings' \
73+ -X PATCH ' http://localhost:7700/chats/my-assistant/settings' \
7474 -H ' Authorization: Bearer MEILISEARCH_KEY' \
7575 -H ' Content-Type: application/json' \
7676 --data-binary ' {
8585
8686``` bash azureOpenAi
8787curl \
88- -X PUT ' http://localhost:7700/chats/my-assistant/settings' \
88+ -X PATCH ' http://localhost:7700/chats/my-assistant/settings' \
8989 -H ' Authorization: Bearer MEILISEARCH_KEY' \
9090 -H ' Content-Type: application/json' \
9191 --data-binary ' {
@@ -100,7 +100,7 @@ curl \
100100
101101``` bash mistral
102102curl \
103- -X PUT ' http://localhost:7700/chats/my-assistant/settings' \
103+ -X PATCH ' http://localhost:7700/chats/my-assistant/settings' \
104104 -H ' Authorization: Bearer MEILISEARCH_KEY' \
105105 -H ' Content-Type: application/json' \
106106 --data-binary ' {
@@ -114,7 +114,7 @@ curl \
114114
115115``` bash gemini
116116curl \
117- -X PUT ' http://localhost:7700/chats/my-assistant/settings' \
117+ -X PATCH ' http://localhost:7700/chats/my-assistant/settings' \
118118 -H ' Authorization: Bearer MEILISEARCH_KEY' \
119119 -H ' Content-Type: application/json' \
120120 --data-binary ' {
@@ -128,7 +128,7 @@ curl \
128128
129129``` bash vLlm
130130curl \
131- -X PUT ' http://localhost:7700/chats/my-assistant/settings' \
131+ -X PATCH ' http://localhost:7700/chats/my-assistant/settings' \
132132 -H ' Authorization: Bearer MEILISEARCH_KEY' \
133133 -H ' Content-Type: application/json' \
134134 --data-binary ' {
@@ -349,7 +349,7 @@ except Exception as error:
3493492. Update with valid API key:
350350
351351 ` ` ` bash
352- curl -X PUT http://localhost:7700/chats/my-assistant/settings \
352+ curl -X PATCH http://localhost:7700/chats/my-assistant/settings \
353353 -H "Authorization: Bearer MEILISEARCH_KEY" \
354354 -H "Content-Type: application/json" \
355355 -d '{"apiKey": "your-valid-api-key"}'
0 commit comments