Commit Graph

1041 Commits

Author SHA1 Message Date
3e51c0a4c1 Introduce the new index chat settings 2025-05-21 11:07:06 +02:00
91c6ab8392 Make sure errorneous calls are handled and forwarded to the LLM 2025-05-20 18:01:08 +02:00
beff6adeb1 Catch invalid argument calls to search function 2025-05-20 17:55:21 +02:00
18eab165a7 Support multiple indexes and not only main 2025-05-20 17:43:24 +02:00
5c6b63df65 Limit the number of internal loop calls and change the function name 2025-05-20 16:44:28 +02:00
7266aed770 Correctly support tenant tokens and filters 2025-05-20 16:15:49 +02:00
bae6c98aa3 Stream errors 2025-05-20 12:23:22 +02:00
42c95cf3c4 Stop the stream when the connexion stops and chnage the events 2025-05-20 12:05:51 +02:00
4f919db344 Generate a new default chat API key 2025-05-20 11:00:19 +02:00
295840d07a Change the /chat route to /chat/completions to be OpenAI-compatible 2025-05-20 10:14:56 +02:00
c0c3bddda8 Better stop the stream 2025-05-16 17:12:48 +02:00
10b5fcd4ba Update the streaming detection to work with Mistral 2025-05-16 15:17:01 +02:00
8113d4a52e Make it compatible with the Mistral API 2025-05-16 14:33:53 +02:00
5964289284 Support base_api in the settings 2025-05-15 18:28:02 +02:00
6b81854d48 Make clippy happy 2025-05-15 18:16:06 +02:00
9e5b466426 Display pre-query prompt in search tool response 2025-05-15 18:10:09 +02:00
b43ffd8fac Commit when putting stuff in LMDB 2025-05-15 18:03:26 +02:00
43da2bcb8c Remove useless function 2025-05-15 17:52:26 +02:00
5e3b126d73 Expose new chat settings routes 2025-05-15 17:48:10 +02:00
6c034754ca Factorise a bit the code 2025-05-15 15:39:38 +02:00
6329cf7ed6 Display the different tool calls we need to do 2025-05-15 11:17:34 +02:00
e0c8c11a94 Send an event with the content of the tool calling 2025-05-14 17:15:32 +02:00
6e8b371111 Streaming supports tool calling 2025-05-14 14:58:01 +02:00
da7d651f4b Nearly support tools on the streaming route 2025-05-14 14:29:41 +02:00
24050f06e4 Return the right message format 2025-05-14 12:03:43 +02:00
af482d8ee9 Aggregate tool calls and display the calls to make. 2025-05-14 11:53:03 +02:00
7d62307739 Implement a first version of a streamed chat API 2025-05-14 11:18:21 +02:00
3a71df7b5a Make it work by retrieving content from the index 2025-05-13 16:35:46 +02:00
ac39a436d9 Support overwriten prompts of the search query 2025-05-13 16:33:58 +02:00
e5c963a170 Support querying the index named main 2025-05-13 15:26:24 +02:00
9baf2ce1a6 Introduce the first version of the /chat route that mimics the OpenAI API 2025-05-13 11:19:32 +02:00
d99419acfb Add a NoOp operation in index update 2025-05-12 14:19:15 +02:00
f349630e78 Add v1.15 in index-scheduler upgrade 2025-05-12 13:53:23 +02:00
0f4536df2d Adapt dumpless upgrade tests 2025-05-12 10:43:12 +02:00
71ab11f1fe Merge pull request #5523 from meilisearch/rollback-updates
Allow rollbacking updates
2025-05-05 09:53:56 +00:00
436776cdbf Merge pull request #5535 from meilisearch/filter-comparison-string
Allow lexicographic filtering of strings
2025-05-05 09:53:19 +00:00
96bc519f9e Merge pull request #5494 from meilisearch/deactivate-numbers-in-typos
Deactivate numbers in typos
2025-05-05 09:19:53 +00:00
8b23eddc10 Dumpless upgrade 2025-04-30 18:03:50 +02:00
185f2b8f74 Fix test now that lexicographic string comparisons are allowed 2025-04-30 17:28:59 +02:00
c0e987979a Allow lexicographic string comparisons 2025-04-30 17:28:49 +02:00
f7c1f19dd8 rust fmt 2025-04-29 16:10:43 +02:00
1542ff30ae Roll back index scheduler version first 2025-04-29 16:05:43 +02:00
20d0aa499a Apply suggestions from code review
Co-authored-by: Clément Renault <clement@meilisearch.com>
2025-04-29 16:03:30 +02:00
0cb2bf34a5 Fix test 2025-04-29 14:47:30 +02:00
a315726f96 Update snapshots 2025-04-29 11:50:32 +02:00
91d2a07499 Rename batcherStoppedBecause to batchCreationComplete 2025-04-29 10:40:12 +02:00
c5360bcdbf When canceling an upgrade task, execute the rollback code 2025-04-24 16:59:03 +02:00
1bdc08a73a tick: always refuse to batch tasks when the version in the index-scheduler is wrong 2025-04-24 16:54:43 +02:00
63b5e21ae1 tick: check tasks to cancel before checking for upgrade tasks 2025-04-24 16:52:28 +02:00
eb0b5239cb process rollback 2025-04-24 16:52:28 +02:00