468fbb2eea
feat: add experimental_personalization_api_key feature to RoFeatures
...
- Add MEILI_EXPERIMENTAL_PERSONALIZATION_API_KEY environment variable
- Add experimental_personalization_api_key field to Opt struct with CLI and env support
- Add experimental_personalization_api_key field to InstanceTogglableFeatures
- Store personalization API key in FeatureData for access through IndexScheduler
- Add experimental_personalization_api_key() method to IndexScheduler
- Update analytics destructuring to include new field
- Maintain RoFeatures Copy trait while properly handling Option<String>
2025-07-31 10:48:21 +02:00
07ecf63c22
refactor: rename personalization API fields and move checks inside service
...
- Rename 'personalization' field to 'personalize' in API
- Rename 'userProfile' to 'userContext' in personalization object
- Remove 'personalized' boolean field (activation now based on non-null 'personalize')
- Move personalization checks inside rerank_search_results function
- Use 'let else' pattern for better error handling
- Update error types and messages to reflect new field names
- Update all search routes and analytics to use new field names
2025-07-31 10:43:27 +02:00
d92fa089d0
feat: add personalization parameters to /search route
...
- Add Personalization struct with personalized boolean and user_profile string
- Add personalizationPersonalized and personalizationUserProfile query parameters to SearchQueryGet
- Follow same pattern as hybrid parameters (hybridEmbedder, hybridSemanticRatio)
- Add validation: personalizationUserProfile requires personalizationPersonalized
- Add error codes for personalization parameters
- Update analytics and facet search to handle new personalization field
- Remove serde dependencies from Personalization struct, use Deserr only
2025-07-31 10:43:27 +02:00
9ae73e3c05
Better support for Mistral errors
2025-06-12 15:18:37 +02:00
77cc3678b5
Make sure template errors are reported to the LLM and front-end without panicking
2025-06-11 09:27:14 +02:00
506ee40dc5
Improve errors and other stuff
2025-06-10 17:52:35 +02:00
e9d547556d
Better error reporting when multi choices is used
2025-06-10 16:41:02 +02:00
5ceb3c6a10
Report an error when the document template max bytes is zero
2025-06-10 16:27:18 +02:00
c60d11fb42
Clean up the prompts
2025-06-10 14:56:13 +02:00
1a1317ab0f
Make clippy happy
2025-06-10 11:12:27 +02:00
985b892b7a
Add a basic chat setting validation
2025-06-10 10:57:43 +02:00
605dea4f85
Do not leak the chat "workspace" term
2025-06-10 10:34:30 +02:00
95d4775d4a
Remove the preQuery chat setting
2025-06-10 10:32:58 +02:00
416fcf47f1
Use the same units
2025-06-10 10:28:06 +02:00
e654eddf56
Improve the chat workspace REST endpoints
2025-06-10 10:21:34 +02:00
bc56087a17
Fix the chatCompletions key
2025-06-10 10:08:01 +02:00
29d82ade56
Rename base_api into base_rul
2025-06-10 09:24:07 +02:00
48e8356a16
Mark the non-streaming chat completions route unimplemented
2025-06-10 09:18:36 +02:00
717a026fdd
Make sure to use the system prompt
2025-06-06 12:32:40 +02:00
70670c3be4
Introduce the support of Azure, Gemini, vLLM
2025-06-06 12:08:37 +02:00
c4e1407e77
Fix the chat, chats, and chatsSettings actions
2025-06-03 16:11:54 +02:00
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
87d2e213f3
Update chat keys
2025-06-03 15:36:35 +02:00
3b931e75d9
Make the chats settings and chat completions route experimental
2025-06-03 15:36:35 +02:00
0efb72fe66
Introduce the first version of the /chat route that mimics the OpenAI API
2025-06-03 15:36:35 +02:00
496685fa26
Implement deserr on ChatCompletions settings structs
2025-06-03 15:31:28 +02:00
02cbcea3db
Better chat completions settings management
2025-06-03 15:31:28 +02:00
0f7f5fa104
Introduce listing/getting/deleting/updating chat workspace settings
2025-06-03 15:31:28 +02:00
33dfd422db
Introduce a lot of search parameters and make Deserr happy
2025-06-03 15:31:27 +02:00
afb43d266e
Correctly list the chat settings key actions
2025-06-03 15:31:26 +02:00
c6930c8819
Introduce the new index chat settings
2025-06-03 15:31:25 +02:00
56c1bd3afe
Generate a new default chat API key
2025-06-03 15:31:24 +02:00
a52b513023
Expose new chat settings routes
2025-06-03 15:31:02 +02:00
5400f3941a
Introduce the first version of the /chat route that mimics the OpenAI API
2025-06-03 15:30:48 +02:00
cf4798bd2b
Change batch stop reason messages to match the new batch_strategy
API name
2025-05-22 12:20:17 +02:00
4d761d3444
Rename batch_creation_complete
to batch_strategy
2025-05-22 12:19:54 +02:00
1d6777ee68
Forbid 0 in maxTotalHits
2025-05-15 11:32:08 +02:00
71ab11f1fe
Merge pull request #5523 from meilisearch/rollback-updates
...
Allow rollbacking updates
2025-05-05 09:53:56 +00:00
96bc519f9e
Merge pull request #5494 from meilisearch/deactivate-numbers-in-typos
...
Deactivate numbers in typos
2025-05-05 09:19:53 +00:00
0cb2bf34a5
Fix test
2025-04-29 14:47:30 +02:00
91d2a07499
Rename batcherStoppedBecause
to batchCreationComplete
2025-04-29 10:40:12 +02:00
49add50cb3
Make version constants u32
2025-04-24 16:06:19 +02:00
63a4dfa2a8
Add disableOnNumber setting
2025-04-23 16:57:50 +02:00
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
f8ff91ed30
Add BatchReason::TaskKindCannotBeBatched
2025-04-15 15:13:53 +02:00
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
b025f1bcf1
Merge branch 'main' into release-v1.14.0-tmp
2025-04-14 12:35:47 +02:00
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
70ed6ba798
fix test + change name
2025-04-02 17:56:34 +02:00
f3ab940776
Make it compile
2025-04-02 17:14:40 +02:00