Clément Renault
75c3f33478
Correctly support document templates on the chat API
2025-06-03 15:31:25 +02:00
Clément Renault
c6930c8819
Introduce the new index chat settings
2025-06-03 15:31:25 +02:00
Clément Renault
439146289e
Make sure errorneous calls are handled and forwarded to the LLM
2025-06-03 15:31:25 +02:00
Clément Renault
6bf214bb14
Catch invalid argument calls to search function
2025-06-03 15:31:25 +02:00
Clément Renault
fcf694026d
Support multiple indexes and not only main
2025-06-03 15:31:25 +02:00
Clément Renault
0b675bd530
Limit the number of internal loop calls and change the function name
2025-06-03 15:31:25 +02:00
Clément Renault
7636365a65
Correctly support tenant tokens and filters
2025-06-03 15:31:24 +02:00
Clément Renault
46680585ae
Stream errors
2025-06-03 15:31:24 +02:00
Clément Renault
bcec8d8984
Stop the stream when the connexion stops and chnage the events
2025-06-03 15:31:24 +02:00
Clément Renault
56c1bd3afe
Generate a new default chat API key
2025-06-03 15:31:24 +02:00
Clément Renault
1a84f00fbf
Change the /chat route to /chat/completions to be OpenAI-compatible
2025-06-03 15:31:24 +02:00
Clément Renault
39320a6fce
Better stop the stream
2025-06-03 15:31:24 +02:00
Clément Renault
1d2dbcb51f
Update the streaming detection to work with Mistral
2025-06-03 15:31:23 +02:00
Clément Renault
341183cd57
Make it compatible with the Mistral API
2025-06-03 15:31:23 +02:00
Clément Renault
b9716ec346
Support base_api in the settings
2025-06-03 15:31:03 +02:00
Clément Renault
564f85280c
Make clippy happy
2025-06-03 15:31:03 +02:00
Clément Renault
7fa74b4931
Display pre-query prompt in search tool response
2025-06-03 15:31:03 +02:00
Clément Renault
c7839b5a84
Remove useless function
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
77e03e3f8c
Factorise a bit the code
2025-06-03 15:31:02 +02:00
Clément Renault
148816a3da
Display the different tool calls we need to do
2025-06-03 15:31:02 +02:00
Clément Renault
511eef87bf
Send an event with the content of the tool calling
2025-06-03 15:31:02 +02:00
Clément Renault
aef8448fc6
Streaming supports tool calling
2025-06-03 15:31:02 +02:00
Clément Renault
5fab2aee51
Nearly support tools on the streaming route
2025-06-03 15:31:02 +02:00
Clément Renault
1235523918
Return the right message format
2025-06-03 15:31:01 +02:00
Clément Renault
d4a16f2349
Aggregate tool calls and display the calls to make.
2025-06-03 15:31:01 +02:00
Clément Renault
0f05c0eb6f
Implement a first version of a streamed chat API
2025-06-03 15:31:01 +02:00
Clément Renault
2cd85c732a
Make it work by retrieving content from the index
2025-06-03 15:30:48 +02:00
Clément Renault
82fa70da83
Support overwriten prompts of the search query
2025-06-03 15:30:48 +02:00
Clément Renault
951be67060
Support querying the index named main
2025-06-03 15:30:48 +02:00
Clément Renault
5400f3941a
Introduce the first version of the /chat route that mimics the OpenAI API
2025-06-03 15:30:48 +02:00
Tamo
1d6777ee68
Forbid 0 in maxTotalHits
2025-05-15 11:32:08 +02:00
Nate Nethercott
79db2e67fb
refactor: prefer helper over explicit pool construction
...
Co-authored-by: Many the fish <many@meilisearch.com>
2025-05-15 11:24:34 +02:00
nnethercott
865f24cfef
refactor: helper methods for pool and max threads
2025-05-14 23:45:24 +02:00
Tamo
83e71cd7b9
Add an experimental cli flag to disable snapshot compaction
2025-05-14 15:59:35 +02:00
Nate Nethercott
806e983aa5
fix: lazy computation in thread default
...
Co-authored-by: Martin Grigorov <martin-g@users.noreply.github.com>
2025-05-13 14:14:48 +02:00
nnethercott
e96c1d4b0f
style: change fmt from empty str to "unlimited"
2025-05-13 12:16:34 +02:00
nnethercott
15cdc6924b
refactor: remove runtime cfg!(test) check
...
Won't work in integration tests and consequently all threads would be
used. To remedy this we make explicit `max_threads=Some(1)` in the
IndexerConfig::default
2025-05-13 09:18:19 +02:00
nnethercott
75a7e40a27
Merge branch 'main' into all-cpus-in-import-dump
2025-05-12 21:48:12 +02:00
nnethercott
53f32a7dd7
refactor: change thread_pool from Option<ThreadPoolNoAbort> to
...
ThreadPoolNoAbort
2025-05-07 17:00:08 +02:00
nnethercott
47a7ed93d3
feat: Make MaxThreads None by default
2025-05-06 09:11:55 +02:00
Nate Nethercott
2ac826edca
Apply suggested changes
...
Co-authored-by: Clément Renault <renault.cle@gmail.com>
Update crates/meilisearch/src/lib.rs
Co-authored-by: Clément Renault <renault.cle@gmail.com>
2025-05-01 16:12:06 +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
49add50cb3
Make version constants u32
2025-04-24 16:06:19 +02:00
DanasFi
fd0623c085
Fix typo in function to get size until task queue stops
2025-04-17 10:48:56 +02:00
DanasFi
eeb33b913c
Corrected metric for task queue total size
2025-04-17 10:46:26 +02:00
DanasFi
3d93efc6aa
Added metric to check task queue size until stop
2025-04-17 10:46:25 +02:00
DanasFi
425ef1b205
Added task queue used size metric
2025-04-17 10:45:02 +02:00
DanasFi
f607449cb7
Added metric for task queue total size.
2025-04-17 10:45:02 +02:00