512 Commits

Author SHA1 Message Date
Kerollmops
506ee40dc5
Improve errors and other stuff 2025-06-10 17:52:35 +02:00
Kerollmops
952fabf8a0
Better document function names 2025-06-10 17:01:00 +02:00
Kerollmops
a0a4ac66ec
Better document the done streamed event 2025-06-10 16:48:28 +02:00
Kerollmops
b037e416d3
Make an unreachable case, unreachable 2025-06-10 16:43:20 +02:00
Kerollmops
e9d547556d
Better error reporting when multi choices is used 2025-06-10 16:41:02 +02:00
Kerollmops
ab0eba2f72
Remove useless double check 2025-06-10 16:31:58 +02:00
Kerollmops
28e6adc435
Remove the SearchQuery Default impl and change the From impl 2025-06-10 16:16:11 +02:00
Kerollmops
7c1b15fd06
Remove useless liquid dependency for Meilisearch 2025-06-10 14:05:35 +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
ae115cee78
Make clippy happy 2025-06-10 13:51:04 +02:00
Kerollmops
c640856cc1
Improve code comments 2025-06-10 11:13:32 +02:00
Kerollmops
9cab754942
Update insta snapshots 2025-06-10 11:11:34 +02:00
Kerollmops
4a0ec15ad2
Make cargo fmt happy 2025-06-10 11:00:14 +02:00
Kerollmops
985b892b7a
Add a basic chat setting validation 2025-06-10 10:57:43 +02:00
Kerollmops
605dea4f85
Do not leak the chat "workspace" term 2025-06-10 10:34:30 +02:00
Kerollmops
95d4775d4a
Remove the preQuery chat setting 2025-06-10 10:32:58 +02:00
Kerollmops
85939ae8ad
Add support for missing sources 2025-06-10 10:25:22 +02:00
Kerollmops
e654eddf56
Improve the chat workspace REST endpoints 2025-06-10 10:21:34 +02:00
Kerollmops
29d82ade56
Rename base_api into base_rul 2025-06-10 09:24:07 +02:00
Kerollmops
a7f5d3bb7a
Redact the API Key when patching chat workspace settings 2025-06-10 09:21:45 +02:00
Kerollmops
48e8356a16
Mark the non-streaming chat completions route unimplemented 2025-06-10 09:18:36 +02:00
Clément Renault
1fda05c2fd
Delete chat.rs 2025-06-09 15:26:13 +02:00
Clément Renault
717a026fdd
Make sure to use the system prompt 2025-06-06 12:32:40 +02:00
Clément Renault
70670c3be4
Introduce the support of Azure, Gemini, vLLM 2025-06-06 12:08:37 +02:00
Clément Renault
4dfb89168b
Add a test for the chat route 2025-06-04 15:41:33 +02:00
Clément Renault
258e6a115b
Fix some other tests 2025-06-04 15:29:55 +02:00
Kerollmops
92d0d36ff6
Fix a bunch of snapshot tests 2025-06-04 10:25:35 +02:00
Clément Renault
28dc7b836b
Fix the chat completions feature gate 2025-06-03 17:10:53 +02:00
Clément Renault
c4e1407e77
Fix the chat, chats, and chatsSettings actions 2025-06-03 16:11:54 +02:00
Clément Renault
82313a4444
Cargo fmt 2025-06-03 15:39:26 +02:00
Clément Renault
8fdcdee0cc
Do a first clippy pass 2025-06-03 15:39:26 +02:00
Clément Renault
7d574433b6
Clean up chat completions modules a bit 2025-06-03 15:39:26 +02:00
Clément Renault
201a808fe2
Better report errors happening with the underlying LLM 2025-06-03 15:39:26 +02:00
Kerollmops
f827c2442c
Mark tool calls to be implemented later for non-streaming 2025-06-03 15:36:35 +02:00
Kerollmops
3b931e75d9
Make the chats settings and chat completions route experimental 2025-06-03 15:36:35 +02:00
Clément Renault
ae135d1d46
Implement a first version of a streamed chat API 2025-06-03 15:36:35 +02:00
Clément Renault
0efb72fe66
Introduce the first version of the /chat route that mimics the OpenAI API 2025-06-03 15:36:35 +02:00
Kerollmops
496685fa26
Implement deserr on ChatCompletions settings structs 2025-06-03 15:31:28 +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
50fafbbc8b
Implement useful conversion strategies and clean up the code 2025-06-03 15:31:28 +02:00
Clément Renault
2821163b95
Clean up the code a bit 2025-06-03 15:31:27 +02:00
Clément Renault
2da64e835e
Factorize the code a bit more and support reporting errors 2025-06-03 15:31:27 +02:00
Clément Renault
420c6e1932
Report the sources 2025-06-03 15:31:27 +02:00
Clément Renault
564cad1163
Call specific tools to show progression and results. 2025-06-03 15:31:27 +02:00
Clément Renault
33dfd422db
Introduce a lot of search parameters and make Deserr happy 2025-06-03 15:31:27 +02:00
Clément Renault
036a9d5dbc
Expose a well defined set of sources 2025-06-03 15:31:26 +02:00
Clément Renault
7b74810b03
Add the index descriptions to the function description 2025-06-03 15:31:26 +02:00
Clément Renault
3e53527bff
redact the chat settings API key 2025-06-03 15:31:26 +02:00