Support for Multiple Vectors per Document in Embeddings #825
Replies: 1 comment 3 replies
-
Hello, while Meilisearch does not currently provide a way to do exactly as you request, there are multiple ways you could achieve a close solution Using multiple embeddersYou can define multiple embedders with the same provider and only a different Using a
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
In an experimental setup, I created a Meilisearch instance containing Supreme Court decisions from an EU country. These decisions consistently consist of three main sections:
I've stored these three attributes (among other attributes) in the JSON documents, with individual paragraphs from each section represented as nested objects under these attributes.
I would like to generate and store separate embeddings for each of these paragraphs in Meilisearch. My understanding is that only one embedding per embedding provider can be stored per document. Is there a way to support multiple embeddings per document, or could this functionality be added?
This would be particularly valuable for legal documents where different sections have distinct semantic meanings, enabling more precise semantic search across document components.
(Creating separate documents for all these paragraphs is not an option, as a keyword search would not find the relevant decision if the keywords are spread over several paragraphs of the decision).
Beta Was this translation helpful? Give feedback.
All reactions