11614 Commits

Author SHA1 Message Date
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
7f5a0c0013
Merge pull request #5646 from meilisearch/revert-5635-prompt-for-email v1.15.0 2025-06-09 12:03:11 +02:00
Clément Renault
f5c3dad3ed
Revert "Prompt for Email" 2025-06-09 10:47:21 +02:00
Clément Renault
717a026fdd
Make sure to use the system prompt prototype-chat-route-15 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
62e2a5a324
Merge pull request #5635 from meilisearch/prompt-for-email
Prompt for Email
2025-06-05 19:18:23 +00:00
Clément Renault
90d96ee415
Make clippy happy prototype-email-prompt-2 2025-06-05 18:21:55 +02:00
Clément Renault
38b317857d
Improve the wording again 2025-06-05 18:19:19 +02:00
Tamo
765e76857f store the email file in the global config directory instead of the local data.ms so it's shared between all instances 2025-06-05 16:01:30 +02:00
Clément Renault
204cf423b2
Fix Docker Image prototype-email-prompt-1 2025-06-05 15:02:09 +02:00
Clément Renault
e575b5af74
Improve the contact email flag to make it friendly to disable prompt prototype-email-prompt-0 2025-06-05 14:49:08 +02:00
Clément Renault
4fc24cb691
Improve prompting again 2025-06-05 14:45:05 +02:00
Clément Renault
8bc8484e95
Skip the prompt when the email was once provided 2025-06-05 14:43:09 +02:00
Clément Renault
7b49c30d8c
Change the email prompting 2025-06-05 12:02:30 +02:00
Clément Renault
239851046d
Send requests to Hubspot 2025-06-05 12:00:23 +02:00
Clément Renault
60796dfb14
Disable it by default in our Docker image 2025-06-05 11:02:30 +02:00
Clément Renault
c7cb72a77a
Make sure we skip empty prompted emails 2025-06-05 10:59:06 +02:00
Clément Renault
4d819ea636
Initial working version for a prompt for email 2025-06-05 10:54:46 +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
Clément Renault
cf2bc03bed
Fix the API key issue by reordering the default keys 2025-06-04 14:50:20 +02:00
Kerollmops
92d0d36ff6
Fix a bunch of snapshot tests 2025-06-04 10:25:35 +02:00
Kerollmops
352ac759b5
Update dependencies 2025-06-04 09:35:43 +02:00
Clément Renault
28dc7b836b
Fix the chat completions feature gate prototype-chat-route-14 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
3c218cc3a0
Update the default chat completions prompt
Co-authored-by: Martin Grigorov <martin-g@users.noreply.github.com>
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
87d2e213f3
Update chat keys 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
ManyTheFish
bed442528f
Update charabia v0.9.4 2025-06-03 15:31:28 +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
Kerollmops
2a067d3327
Fix compilation error in test 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