AI Search Mechanisms #621
Replies: 15 comments 18 replies
-
As mentioned in #642: It would be great if neural embeddings could be added to each item and weight the embedding neighbours as part of the search. This could potentially enable: More meaningful searches with support for synonyms, etc. Any ideas? |
Beta Was this translation helpful? Give feedback.
-
Another use case could be "Matching". |
Beta Was this translation helpful? Give feedback.
-
I got linked to this discussion through the Semantic Search / Vector Search roadmap item... You didn't mention it explicitly but I would love to have semantic search abilities. This would allow a more intuitive way for users to find relevant articles in my use case. The architecture would be simple and performant. You simply generate embeddings for each item that you want to be searchable, in my case, article titles, and then you store them in a vector database. Vector databases have great performance. |
Beta Was this translation helpful? Give feedback.
-
Thank you all for taking the time to leave your feedback and share your use cases; it's super helpful! We're currently exploring different solutions and discussing their scope, we'll make sure to keep you updated in this discussion thread. |
Beta Was this translation helpful? Give feedback.
-
Hello everyone 👋 We just released a 🧪 prototype that allows Meilisearch to serve as a vector store. With this prototype, Meilisearch accepts vectors in the documents, stores them, and lets users retrieve the nearest documents using the search endpoint. Install the PrototypeYou can either use Docker and fetch the prototype image by using the following command: docker run -p 7700:7700 -v $(pwd)/meili_data:/meili_data getmeili/meilisearch:prototype-vector-store-1 Or you can compile from the source using the Rust compiler and checkout the git clone https://github.com/meilisearch/meilisearch
git checkout prototype-vector-store-1
cargo run --release Send Vectorized DocumentsThis prototype handle already vectorized documents, which means that you must send the document's vector along with the document itself. The vector must be sent in your document's curl -X POST -H 'content-type: application/json' \
'localhost:7700/indexes/myvectors/documents' \
--data-binary '[
{ "id": 0, "_vectors": [0, 0.8, -0.2], "text": "Hello World" },
{ "id": 1, "_vectors": [1, -0.2, 0], "text": "Hello Doggy" },
{ "id": 2, "_vectors": [[0.5, 3, 1], [-0.2, 4, 6]], "text": "Hello People" }
]' Query Meilisearch using VectorsOnce Meilisearch is aware of your vectorized documents you can query for them by using no more than the default search route. To do that you must compute the vector of your query and send the vector in the curl -X POST -H 'content-type: application/json' \
'localhost:7700/indexes/myvectors/search' \
--data-binary '{ "vector": [0, 1, 2] }' Executing this query should output something like the following:
Frequently Asked QuestionsIn this prototype, you can:
In this prototype, Meilisearch:
NotesFeedback and bug reporting when using this prototype are encouraged! Thanks in advance for your involvement. It means a lot to us ❤️ |
Beta Was this translation helpful? Give feedback.
-
Hello everyone 👋 We just released a new What Changed in this Version?
|
Beta Was this translation helpful? Give feedback.
-
Hello everyone 👋 We have an exciting update to share with you all! Vector Store has been merged and will be shipping in Meilisearch v1.3 (released July 31st) 🎉 You can join the conversation in the dedicated discussion: #677 Looking forward to your feedback! |
Beta Was this translation helpful? Give feedback.
-
Hello again 👋 We have just released the first RC (release candidate) of Meilisearch containing this new feature! docker run -it --rm -p 7700:7700 -v $(pwd)/meili_data:/meili_data getmeili/meilisearch:v1.3.0-rc.0 You are welcome to leave your feedback in this discussion. If you encounter any bugs, please report them here. 🎉 The official and stable release containing this change will be available on July 31st, 2023 |
Beta Was this translation helpful? Give feedback.
-
Hello I wish there was a function.If have a particular document id and want to find documents that are "similar" to this document, i can do a vector query that references this id directly. Also I'm looking at how well mixed search can be implemented. I wonder if this is possible. If there are fewer than a few normal search results, then you can switch to vector search? What do you think |
Beta Was this translation helpful? Give feedback.
-
Hey folks 👋 v1.3 has been released! 🦁 You can now use Meilisearch as a vector store ✨ Note: This feature is experimental and we need your help to improve it! Share your thoughts and feedback on #677. 📚 https://www.meilisearch.com/docs/learn/experimental/vector_search |
Beta Was this translation helpful? Give feedback.
-
I've just now upgraded and has been testing this functionality out. But I have two questions, perhaps I am not using it correctly.
|
Beta Was this translation helpful? Give feedback.
-
Hey everyone! 👋 A quick message just to let you know that the v1.6 is in pre-release stage. It brings hybrid search & auto-embedding features plus optimizations on the indexing speed, so if you are willing to play with it as an early bird, please do so! The official release date for the v1.6 is scheduled for January 15th. |
Beta Was this translation helpful? Give feedback.
-
Hey folks 👋 v1.6 has been released! 🦊 Hybrid search and auto-embedding features are now available for your use ✨ Check out our documentation to learn how to use them. We're looking forward to your feedback! |
Beta Was this translation helpful? Give feedback.
-
For RAG purposes documents are typically chunked so as to be able to only bring back to the LLM those chunks relevant to the search query. Does Meilisearch provide any "native" functionality for this, or are there any best practices guidelines for implementation with RAG as the use case? I would assume treating the Meilisearch index as any other vector db and storing each chunk as a document ("chunk-document"), with the "parent document" either stored as a separate document or in a different datastore and maintaining referential integrity and sequencing (along with the plain text of the chunk) in chunk-document attributes? |
Beta Was this translation helpful? Give feedback.
-
What index is used for vectors? And related, how many documents with vectors can Meilisearch handle? This enhancement to pgvector introduces StreamingDiskANN. Is it something like that? |
Beta Was this translation helpful? Give feedback.
-
Hello everyone 👋
Having this discussion space could open up the conversation about this topic and see if we can identify some valuable cases to explore with the community as we go along.
Here are a few use cases I have in mind that might be interesting to discuss, and I'd love to hear your thoughts on them and for you to share if you are having trouble accomplishing this today with your search engine.
Use-cases
Do you see any other use cases? Which ones could solve a need you have?
Challenges
What's next?
Before exploring anything with technical work, we would like to know a little more about what can be interesting and valuable from your feedback and experience.
We also have a forum dedicated to this topic on our Discord. Feel free to join! ✨
Beta Was this translation helpful? Give feedback.
All reactions