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
Clément Renault
4069dbcfca
Upgrade incompatible dependencies
2025-06-17 22:23:37 +02:00
Clément Renault
03eb50fbac
Upgrade dependencies
2025-06-17 22:03:06 +02:00
Clément Renault
abb399b802
Merge pull request #5674 from meilisearch/release-v1.15.2
...
Bring back v1.15.2 to main
2025-06-16 11:36:07 +00:00
Clément Renault
df4e3c2e43
Fix the version everywhere
2025-06-12 16:57:59 +02:00
Clément Renault
9bda9a9a64
Merge remote-tracking branch 'origin/main' into tmp-release-v1.15.1
2025-06-12 10:21:07 +02:00
Clément Renault
9275ce1503
Merge pull request #5655 from meilisearch/update-version-v1.15.1
...
Update version for the next release (v1.15.1) in Cargo.toml
2025-06-11 14:54:01 +00:00
Clément Renault
484fdd9ce2
Fix the insta snapshots
2025-06-11 10:59:14 +02:00
Kerollmops
4352a924d7
Remove useless filters parameter
2025-06-10 14:05:02 +02:00
Kerollmops
bbe802c656
Remove the write txn method from the index scheduler
2025-06-10 14:03:05 +02:00
Kerollmops
b32e30ad27
Make the chat setting db name a const
2025-06-10 14:02:43 +02:00
Kerollmops
e654eddf56
Improve the chat workspace REST endpoints
2025-06-10 10:21:34 +02:00
Kerollmops
92d0d36ff6
Fix a bunch of snapshot tests
2025-06-04 10:25:35 +02:00
Clément Renault
82313a4444
Cargo fmt
2025-06-03 15:39:26 +02:00
Kerollmops
3b931e75d9
Make the chats settings and chat completions route experimental
2025-06-03 15:36:35 +02:00
Kerollmops
02cbcea3db
Better chat completions settings management
2025-06-03 15:31:28 +02:00
Kerollmops
0f7f5fa104
Introduce listing/getting/deleting/updating chat workspace settings
2025-06-03 15:31:28 +02:00
Kerollmops
2a067d3327
Fix compilation error in test
2025-06-03 15:31:27 +02:00
Clément Renault
564f85280c
Make clippy happy
2025-06-03 15:31:03 +02:00
Clément Renault
7d8415448c
Commit when putting stuff in LMDB
2025-06-03 15:31:03 +02:00
Clément Renault
a52b513023
Expose new chat settings routes
2025-06-03 15:31:02 +02:00
Clément Renault
82fa70da83
Support overwriten prompts of the search query
2025-06-03 15:30:48 +02:00
Louis Dureuil
c204a7bb12
Update snapshots
2025-05-22 12:39:37 +02:00
Tamo
cc2011a27f
Merge pull request #5565 from meilisearch/fix-0-batched-task
...
Fix 0 batched task
2025-05-15 12:41:48 +00:00
Tamo
604e156c2b
add the snapshots
2025-05-15 11:35:31 +02:00
Tamo
0940f0e4f4
add a test
2025-05-15 11:10:08 +02:00
Tamo
8608d10fa2
Don't process any tasks if the max number of batched tasks is set to 0
2025-05-14 17:09:10 +02:00
Tamo
83e71cd7b9
Add an experimental cli flag to disable snapshot compaction
2025-05-14 15:59:35 +02:00
nnethercott
75a7e40a27
Merge branch 'main' into all-cpus-in-import-dump
2025-05-12 21:48:12 +02:00
ManyTheFish
d99419acfb
Add a NoOp operation in index update
2025-05-12 14:19:15 +02:00
ManyTheFish
f349630e78
Add v1.15 in index-scheduler upgrade
2025-05-12 13:53:23 +02:00
ManyTheFish
0f4536df2d
Adapt dumpless upgrade tests
2025-05-12 10:43:12 +02:00
nnethercott
53f32a7dd7
refactor: change thread_pool from Option<ThreadPoolNoAbort> to
...
ThreadPoolNoAbort
2025-05-07 17:00:08 +02:00
Louis Dureuil
f7c1f19dd8
rust fmt
2025-04-29 16:10:43 +02:00
Louis Dureuil
1542ff30ae
Roll back index scheduler version first
2025-04-29 16:05:43 +02:00
Louis Dureuil
20d0aa499a
Apply suggestions from code review
...
Co-authored-by: Clément Renault <clement@meilisearch.com>
2025-04-29 16:03:30 +02:00
nnethercott
3b773b3416
Revert thread_pool type back to Option in config
2025-04-28 11:56:37 +02:00
nnethercott
648b2876f6
Create temp threadpool with all CPUs in dump
2025-04-27 00:52:10 +02:00
Louis Dureuil
c5360bcdbf
When canceling an upgrade task, execute the rollback code
2025-04-24 16:59:03 +02:00
Louis Dureuil
1bdc08a73a
tick: always refuse to batch tasks when the version in the index-scheduler is wrong
2025-04-24 16:54:43 +02:00
Louis Dureuil
63b5e21ae1
tick: check tasks to cancel before checking for upgrade tasks
2025-04-24 16:52:28 +02:00
Louis Dureuil
eb0b5239cb
process rollback
2025-04-24 16:52:28 +02:00
Louis Dureuil
121c1ac1dd
Upgrade supports cancelling
2025-04-24 16:08:10 +02:00
Louis Dureuil
b82dda2d0d
Allow rollbacking indexes in the mapper
2025-04-24 16:08:10 +02:00
Louis Dureuil
ea9330e9c9
Add new errors when there is a version mismatch between the bin and index or index-scheduler
2025-04-24 16:08:10 +02:00
Louis Dureuil
b6a9d8d2ac
Add Error::RollbackFailed
2025-04-24 16:06:19 +02:00
Louis Dureuil
e1aa534389
Wait 10 seconds in case of irrecoverable error
2025-04-24 16:06:19 +02:00
Louis Dureuil
49add50cb3
Make version constants u32
2025-04-24 16:06:19 +02:00
Tamo
9fd9fcb03e
Merge pull request #5512 from DanasFi/task_queue_metrics
...
Task queue metrics
2025-04-17 09:38:25 +00:00
DanasFi
fd0623c085
Fix typo in function to get size until task queue stops
2025-04-17 10:48:56 +02:00