446 Commits

Author SHA1 Message Date
Clément Renault
bae6c98aa3
Stream errors 2025-05-20 12:23:22 +02:00
Clément Renault
42c95cf3c4
Stop the stream when the connexion stops and chnage the events 2025-05-20 12:05:51 +02:00
Clément Renault
4f919db344
Generate a new default chat API key 2025-05-20 11:00:19 +02:00
Clément Renault
295840d07a
Change the /chat route to /chat/completions to be OpenAI-compatible 2025-05-20 10:14:56 +02:00
Clément Renault
c0c3bddda8
Better stop the stream 2025-05-16 17:12:48 +02:00
Clément Renault
10b5fcd4ba
Update the streaming detection to work with Mistral 2025-05-16 15:17:01 +02:00
Clément Renault
8113d4a52e
Make it compatible with the Mistral API 2025-05-16 14:33:53 +02:00
Clément Renault
5964289284
Support base_api in the settings 2025-05-15 18:28:02 +02:00
Clément Renault
6b81854d48
Make clippy happy 2025-05-15 18:16:06 +02:00
Clément Renault
9e5b466426
Display pre-query prompt in search tool response 2025-05-15 18:10:09 +02:00
Clément Renault
43da2bcb8c
Remove useless function 2025-05-15 17:52:26 +02:00
Clément Renault
5e3b126d73
Expose new chat settings routes 2025-05-15 17:48:10 +02:00
Clément Renault
6c034754ca
Factorise a bit the code 2025-05-15 15:39:38 +02:00
Clément Renault
6329cf7ed6
Display the different tool calls we need to do 2025-05-15 11:17:34 +02:00
Clément Renault
e0c8c11a94
Send an event with the content of the tool calling 2025-05-14 17:15:32 +02:00
Clément Renault
6e8b371111
Streaming supports tool calling 2025-05-14 14:58:01 +02:00
Clément Renault
da7d651f4b
Nearly support tools on the streaming route 2025-05-14 14:29:41 +02:00
Clément Renault
24050f06e4
Return the right message format 2025-05-14 12:03:43 +02:00
Clément Renault
af482d8ee9
Aggregate tool calls and display the calls to make. 2025-05-14 11:53:03 +02:00
Clément Renault
7d62307739
Implement a first version of a streamed chat API 2025-05-14 11:18:21 +02:00
Clément Renault
3a71df7b5a
Make it work by retrieving content from the index 2025-05-13 16:35:46 +02:00
Clément Renault
ac39a436d9
Support overwriten prompts of the search query 2025-05-13 16:33:58 +02:00
Clément Renault
e5c963a170
Support querying the index named main 2025-05-13 15:26:24 +02:00
Clément Renault
9baf2ce1a6
Introduce the first version of the /chat route that mimics the OpenAI API 2025-05-13 11:19:32 +02:00
ManyTheFish
0f4536df2d Adapt dumpless upgrade tests 2025-05-12 10:43:12 +02:00
Many the fish
71ab11f1fe
Merge pull request #5523 from meilisearch/rollback-updates
Allow rollbacking updates
2025-05-05 09:53:56 +00:00
Many the fish
96bc519f9e
Merge pull request #5494 from meilisearch/deactivate-numbers-in-typos
Deactivate numbers in typos
2025-05-05 09:19:53 +00:00
ManyTheFish
0cb2bf34a5 Fix test 2025-04-29 14:47:30 +02:00
Louis Dureuil
a315726f96
Update snapshots 2025-04-29 11:50:32 +02:00
Louis Dureuil
49add50cb3
Make version constants u32 2025-04-24 16:06:19 +02:00
ManyTheFish
294ccb6f44 Add test 2025-04-23 16:57:50 +02:00
ManyTheFish
63a4dfa2a8 Add disableOnNumber setting 2025-04-23 16:57:50 +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
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
Tamo
e9b4794f2b
Merge pull request #5488 from meilisearch/try-batch-end-reason
add "batcher stopped because" field to batch objects
2025-04-17 08:26:31 +00:00
Kerollmops
1f1edd6e25
Fix prometheus function signature to use strings instead of strs 2025-04-16 10:30:55 +02:00
Kerollmops
bc5efa9a76
Bump prometheus to v0.14.0 2025-04-16 10:30:25 +02:00
Louis Dureuil
b61eb19601
Fix snapshots 2025-04-15 15:13:53 +02:00
hdt3213
1f5412003d optimize test suite 2025-04-15 07:17:47 +08:00
Louis Dureuil
a500fa053c
Merge pull request #5509 from meilisearch/release-v1.14.0-tmp
Bring back changes from v1.14.0 to main
2025-04-14 13:59:23 +00:00
Tamo
61db56f785 remove duplicated test 2025-04-14 14:55:57 +02:00
Clément Renault
a3a1065c16
Merge pull request #5497 from meilisearch/dependabot/cargo/tokio-1.43.1
Bump tokio from 1.42.0 to 1.43.1
2025-04-14 11:40:13 +00:00
Tamo
b025f1bcf1
Merge branch 'main' into release-v1.14.0-tmp 2025-04-14 12:35:47 +02:00
dependabot[bot]
5d453e6049
Bump crossbeam-channel from 0.5.14 to 0.5.15
Bumps [crossbeam-channel](https://github.com/crossbeam-rs/crossbeam) from 0.5.14 to 0.5.15.
- [Release notes](https://github.com/crossbeam-rs/crossbeam/releases)
- [Changelog](https://github.com/crossbeam-rs/crossbeam/blob/master/CHANGELOG.md)
- [Commits](https://github.com/crossbeam-rs/crossbeam/compare/crossbeam-channel-0.5.14...crossbeam-channel-0.5.15)

---
updated-dependencies:
- dependency-name: crossbeam-channel
  dependency-version: 0.5.15
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-10 14:44:12 +00:00
dependabot[bot]
a225ab2637
Bump tokio from 1.42.0 to 1.43.1
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.42.0 to 1.43.1.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.42.0...tokio-1.43.1)

---
updated-dependencies:
- dependency-name: tokio
  dependency-version: 1.43.1
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-08 02:13:40 +00:00
Louis Dureuil
c3c5a928e4
Merge pull request #5486 from CodeMan62/fix-network-url-validation-error-msg
Update network URL validation error message format to match expected
2025-04-03 10:42:33 +00:00