Clément Renault
|
d63cf4a5a8
|
WIP we need to check chats + add chats restrictions to tenant tokens
|
2025-06-03 15:29:15 +02:00 |
|
Clément Renault
|
5ccb24377a
|
Fix the chat, chats, and chatsSettings actions
|
2025-06-03 15:15:02 +02:00 |
|
Clément Renault
|
d361cbf04e
|
Cargo fmt
|
2025-06-03 14:50:21 +02:00 |
|
Clément Renault
|
bd5268b4b2
|
Do a first clippy pass
|
2025-06-03 14:49:19 +02:00 |
|
Clément Renault
|
a7ee848df3
|
Update the default chat completions prompt
Co-authored-by: Martin Grigorov <martin-g@users.noreply.github.com>
|
2025-06-03 14:34:03 +02:00 |
|
Clément Renault
|
a3600afa20
|
Clean up chat completions modules a bit
|
2025-06-03 14:28:01 +02:00 |
|
Clément Renault
|
a4967dfaf7
|
Better report errors happening with the underlying LLM
|
2025-06-03 14:07:38 +02:00 |
|
Clément Renault
|
ac33f10f81
|
Update dependencies
|
2025-06-01 21:59:11 +02:00 |
|
Kerollmops
|
7fd34b5f19
|
Mark tool calls to be implemented later for non-streaming
prototype-chat-route-13
|
2025-05-30 16:37:16 +02:00 |
|
Kerollmops
|
ef0f877bb9
|
Update chat keys
|
2025-05-30 16:07:44 +02:00 |
|
Kerollmops
|
85c20447e0
|
Make the chats settings and chat completions route experimental
|
2025-05-30 16:07:44 +02:00 |
|
Clément Renault
|
0f75ae9f25
|
Implement a first version of a streamed chat API
|
2025-05-30 16:07:44 +02:00 |
|
Clément Renault
|
11ace7f209
|
Introduce the first version of the /chat route that mimics the OpenAI API
|
2025-05-30 16:07:44 +02:00 |
|
ManyTheFish
|
dd7155abb3
|
Update charabia v0.9.4
|
2025-05-30 16:07:20 +02:00 |
|
Kerollmops
|
6959b01aa5
|
Implement deserr on ChatCompletions settings structs
|
2025-05-30 16:07:02 +02:00 |
|
Kerollmops
|
358abf662e
|
Better chat completions settings management
|
2025-05-30 16:07:02 +02:00 |
|
Kerollmops
|
5bb0714c5f
|
Introduce listing/getting/deleting/updating chat workspace settings
|
2025-05-30 16:07:01 +02:00 |
|
Kerollmops
|
7e42293a23
|
Implement useful conversion strategies and clean up the code
|
2025-05-30 16:07:01 +02:00 |
|
Clément Renault
|
8c66e63760
|
Clean up the code a bit
|
2025-05-30 16:07:00 +02:00 |
|
Clément Renault
|
5d8cdb075b
|
Factorize the code a bit more and support reporting errors
|
2025-05-30 16:07:00 +02:00 |
|
Clément Renault
|
fa139ee601
|
Report the sources
|
2025-05-30 16:07:00 +02:00 |
|
Kerollmops
|
f635a8f9f3
|
Fix compilation error in test
|
2025-05-30 16:06:59 +02:00 |
|
Clément Renault
|
807157b8cd
|
Call specific tools to show progression and results.
|
2025-05-30 16:06:59 +02:00 |
|
Clément Renault
|
ca5a87a606
|
Introduce a lot of search parameters and make Deserr happy
|
2025-05-30 16:06:59 +02:00 |
|
Clément Renault
|
bf3286ba41
|
Expose a well defined set of sources
|
2025-05-30 16:06:58 +02:00 |
|
Clément Renault
|
1e67a47a8f
|
Add the index descriptions to the function description
|
2025-05-30 16:06:58 +02:00 |
|
Clément Renault
|
7bfb7b7d58
|
redact the chat settings API key
|
2025-05-30 16:06:58 +02:00 |
|
Clément Renault
|
1eb8249a51
|
Better chat settings management
|
2025-05-30 16:06:57 +02:00 |
|
Clément Renault
|
f9ecb0ff31
|
Correctly list the chat settings key actions
|
2025-05-30 16:06:57 +02:00 |
|
Clément Renault
|
723f1b13a0
|
Always use the frequency matching strategy
|
2025-05-30 16:06:56 +02:00 |
|
Clément Renault
|
97d74bd2b9
|
Correctly support document templates on the chat API
|
2025-05-30 16:06:50 +02:00 |
|
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 |
|