MeiliSearch/crates/meilisearch/src
Martin Tzvetanov Grigorov eb7230c2f6
Fixes #5669 - Enable chatCompletions experimental feature via CLI and ENV
https://www.meilisearch.com/docs/reference/api/chats#chat-completions-workspace-object
Currently the new `chatCompletions` feature could be enabled only via
```
curl \
  -X PATCH 'MEILISEARCH_URL/experimental-features/' \
  -H 'Content-Type: application/json' \
  --data-binary '{
    "chatCompletions": true
  }'
```

Now it will be possible to use
1) command line argument: `--experimental_chat_completions`
2) or environment variable:
   `export MEILI_EXPERIMENTAL_CHAT_COMPLETIONS=true`

Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
2025-06-23 11:11:19 +03:00
..
analytics Fixes #5669 - Enable chatCompletions experimental feature via CLI and ENV 2025-06-23 11:11:19 +03:00
extractors Fix the chat, chats, and chatsSettings actions 2025-06-03 16:11:54 +02:00
routes Better support for Mistral errors 2025-06-12 15:18:37 +02:00
search Remove the SearchQuery Default impl and change the From impl 2025-06-10 16:16:11 +02:00
upgrade Add the new tasks with most of the job done 2025-01-23 16:48:32 +01:00
error.rs Fix after upgrading thiserror 2025-01-08 15:58:32 +01:00
lib.rs Fixes #5669 - Enable chatCompletions experimental feature via CLI and ENV 2025-06-23 11:11:19 +03:00
main.rs Make Cargo and Clippy happy 2025-04-01 11:26:34 +02:00
metrics.rs Corrected metric for task queue total size 2025-04-17 10:46:26 +02:00
middleware.rs Fix prometheus function signature to use strings instead of strs 2025-04-16 10:30:55 +02:00
option.rs Fixes #5669 - Enable chatCompletions experimental feature via CLI and ENV 2025-06-23 11:11:19 +03:00
option_test.rs Fix the format and linter error 2024-12-28 20:35:55 +08:00
search_queue.rs chore: Fix English grammar in SearchQueue's comments 2025-06-09 12:05:36 +02:00