11506 Commits

Author SHA1 Message Date
Clément Renault
39ecea5e9e
Introduce the new index chat settings 2025-05-30 16:06:50 +02:00
Clément Renault
d389e49147
Make sure errorneous calls are handled and forwarded to the LLM 2025-05-30 16:06:49 +02:00
Clément Renault
971249c59c
Catch invalid argument calls to search function 2025-05-30 16:06:49 +02:00
Clément Renault
d6f2bd9b57
Support multiple indexes and not only main 2025-05-30 16:06:49 +02:00
Clément Renault
14c8e5cb56
Limit the number of internal loop calls and change the function name 2025-05-30 16:06:48 +02:00
Clément Renault
1159af1219
Correctly support tenant tokens and filters 2025-05-30 16:06:48 +02:00
Clément Renault
0fcc7e1377
Stream errors 2025-05-30 16:06:48 +02:00
Clément Renault
a074384d69
Stop the stream when the connexion stops and chnage the events 2025-05-30 16:06:47 +02:00
Clément Renault
bc7e4598db
Generate a new default chat API key 2025-05-30 16:06:47 +02:00
Clément Renault
487002f2f0
Change the /chat route to /chat/completions to be OpenAI-compatible 2025-05-30 16:06:47 +02:00
Clément Renault
a51579e923
Better stop the stream 2025-05-30 16:06:46 +02:00
Clément Renault
afadfa420a
Update the streaming detection to work with Mistral 2025-05-30 16:06:46 +02:00
Clément Renault
116fbb4c24
Make it compatible with the Mistral API 2025-05-30 16:06:46 +02:00
Clément Renault
64fe283abc
Support base_api in the settings 2025-05-30 16:06:45 +02:00
Clément Renault
9af1a29949
Make clippy happy 2025-05-30 16:06:45 +02:00
Clément Renault
d5d30ed4f2
Display pre-query prompt in search tool response 2025-05-30 16:06:45 +02:00
Clément Renault
81ea8933c1
Commit when putting stuff in LMDB 2025-05-30 16:06:44 +02:00
Clément Renault
9875f55384
Remove useless function 2025-05-30 16:06:44 +02:00
Clément Renault
eb4445070f
Expose new chat settings routes 2025-05-30 16:06:44 +02:00
Clément Renault
e603e221d5
Factorise a bit the code 2025-05-30 16:06:43 +02:00
Clément Renault
d94f16b1d2
Display the different tool calls we need to do 2025-05-30 16:06:43 +02:00
Clément Renault
59873fdc6c
Send an event with the content of the tool calling 2025-05-30 16:06:43 +02:00
Clément Renault
0f2ddf560b
Streaming supports tool calling 2025-05-30 16:06:42 +02:00
Clément Renault
fb08d62af9
Nearly support tools on the streaming route 2025-05-30 16:06:42 +02:00
Clément Renault
f8f2f8df97
Return the right message format 2025-05-30 16:06:42 +02:00
Clément Renault
5b642b558a
Aggregate tool calls and display the calls to make. 2025-05-30 16:06:42 +02:00
Clément Renault
ae89825b37
Implement a first version of a streamed chat API 2025-05-30 16:06:41 +02:00
Clément Renault
fbd3558f04
Implement a first version of a streamed chat API 2025-05-30 16:06:32 +02:00
Clément Renault
223f5b7283
Make it work by retrieving content from the index 2025-05-30 16:06:03 +02:00
Clément Renault
3bca6ff771
Support overwriten prompts of the search query 2025-05-30 16:06:03 +02:00
Clément Renault
5d426bd95e
Support querying the index named main 2025-05-30 16:06:02 +02:00
Clément Renault
f69e39171f
Introduce the first version of the /chat route that mimics the OpenAI API 2025-05-30 16:06:02 +02:00
Many the fish
5b67de0367
Merge pull request #5593 from meilisearch/remove-template-checker
Remove TemplateChecker
2025-05-27 09:11:51 +00:00
Louis Dureuil
5810fb239f
Reference PR in comments 2025-05-27 10:24:04 +02:00
Louis Dureuil
b007ed6be9
Remove TemplateChecker 2025-05-27 10:04:14 +02:00
Many the fish
a1ff41cabb
Merge pull request #5541 from meilisearch/deactivate-numbers-in-typos-enhancements
Minor fixes: Deactivate numbers in typos
2025-05-26 14:36:21 +00:00
Many the fish
ff64c64abe
Merge pull request #5587 from meilisearch/fix-derivations-again
Fix another derivation-related panic in the search
v1.15.0-rc.3
2025-05-22 13:39:04 +00:00
Tamo
ee326a1ecc
Merge pull request #5588 from meilisearch/rename-batch-stopped-reason
Rename batch creation complete
2025-05-22 12:39:34 +00:00
Louis Dureuil
c204a7bb12
Update snapshots 2025-05-22 12:39:37 +02:00
Louis Dureuil
cf4798bd2b
Change batch stop reason messages to match the new batch_strategy API name 2025-05-22 12:20:17 +02:00
Louis Dureuil
4d761d3444
Rename batch_creation_complete to batch_strategy 2025-05-22 12:19:54 +02:00
Louis Dureuil
c9b78970c9
Remove lambdas from the find_*_derivations
Make sure their number of insert in the interner are bounded
2025-05-22 11:06:14 +02:00
Tamo
ae3c4e27c4
Merge pull request #5557 from meilisearch/update-charabia-v0.9.4
Update charabia v0.9.5
2025-05-21 10:56:41 +00:00
ManyTheFish
1b718afd11 Update charabia removing a lot of dependencies 2025-05-21 11:52:19 +02:00
ManyTheFish
01ef055f40 Update charabia v0.9.4 2025-05-21 11:52:19 +02:00
Many the fish
293a425183 Apply suggestions from code review
Co-authored-by: Martin Grigorov <martin-g@users.noreply.github.com>
2025-05-21 10:49:43 +02:00
ManyTheFish
699ec18de8 Fix warnings 2025-05-21 10:49:43 +02:00
ManyTheFish
73e4206b3c Pass a progress callback to recompute_word_fst_from_word_docids_database
fixes https://github.com/meilisearch/meilisearch/pull/5494#discussion_r2069377991
2025-05-21 10:49:43 +02:00
ManyTheFish
a964251cee Remove useless reset
fixes https://github.com/meilisearch/meilisearch/pull/5494#discussion_r2069373494
2025-05-21 10:49:43 +02:00
Louis Dureuil
8068337b07
Merge pull request #5573 from CodeMan62/fix-5555
Only intern in case of typo when looking for one or two typoes
2025-05-20 09:17:35 +00:00