@@ -88,7 +88,7 @@ Create a workspace with your LLM provider settings. Here are examples for differ
8888
8989``` bash openAi
9090curl \
91- -X PUT ' http://localhost:7700/chats/my-assistant/settings' \
91+ -X PATCH ' http://localhost:7700/chats/my-assistant/settings' \
9292 -H ' Authorization: Bearer MEILISEARCH_KEY' \
9393 -H ' Content-Type: application/json' \
9494 --data-binary ' {
@@ -103,7 +103,7 @@ curl \
103103
104104``` bash azureOpenAi
105105curl \
106- -X PUT ' http://localhost:7700/chats/my-assistant/settings' \
106+ -X PATCH ' http://localhost:7700/chats/my-assistant/settings' \
107107 -H ' Authorization: Bearer MEILISEARCH_KEY' \
108108 -H ' Content-Type: application/json' \
109109 --data-binary ' {
@@ -118,7 +118,7 @@ curl \
118118
119119``` bash mistral
120120curl \
121- -X PUT ' http://localhost:7700/chats/my-assistant/settings' \
121+ -X PATCH ' http://localhost:7700/chats/my-assistant/settings' \
122122 -H ' Authorization: Bearer MEILISEARCH_KEY' \
123123 -H ' Content-Type: application/json' \
124124 --data-binary ' {
@@ -132,7 +132,7 @@ curl \
132132
133133``` bash gemini
134134curl \
135- -X PUT ' http://localhost:7700/chats/my-assistant/settings' \
135+ -X PATCH ' http://localhost:7700/chats/my-assistant/settings' \
136136 -H ' Authorization: Bearer MEILISEARCH_KEY' \
137137 -H ' Content-Type: application/json' \
138138 --data-binary ' {
@@ -146,7 +146,7 @@ curl \
146146
147147``` bash vLlm
148148curl \
149- -X PUT ' http://localhost:7700/chats/my-assistant/settings' \
149+ -X PATCH ' http://localhost:7700/chats/my-assistant/settings' \
150150 -H ' Authorization: Bearer MEILISEARCH_KEY' \
151151 -H ' Content-Type: application/json' \
152152 --data-binary ' {
@@ -367,7 +367,7 @@ except Exception as error:
3673672. Update with valid API key:
368368
369369 ` ` ` bash
370- curl -X PUT http://localhost:7700/chats/my-assistant/settings \
370+ curl -X PATCH http://localhost:7700/chats/my-assistant/settings \
371371 -H "Authorization: Bearer MEILISEARCH_KEY" \
372372 -H "Content-Type: application/json" \
373373 -d '{"apiKey": "your-valid-api-key"}'
0 commit comments