Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for vector search parameter when using user provided embeddings #1351

Open
elzako opened this issue Jan 2, 2025 · 0 comments · May be fixed by #1353
Open

Support for vector search parameter when using user provided embeddings #1351

elzako opened this issue Jan 2, 2025 · 0 comments · May be fixed by #1353

Comments

@elzako
Copy link

elzako commented Jan 2, 2025

Description

Hybrid search is already already supported via meiliSearchParams:

meiliSearchParams: { hybrid: { embedder: 'openai', semanticRatio: 0.7, }, },

However, for user provided embeddings, there is an additional step to vectorize the query and pass the embedding to the vector search parameter:

curl -X POST -H 'content-type: application/json' \ 'localhost:7700/indexes/products/search' \ --data-binary '{ "vector": [0, 1, 2] }'

Is there a way to pass this vector search parameter in instant-meilisearch?

Reference

https://www.meilisearch.com/docs/learn/ai_powered_search/search_with_user_provided_embeddings

This was referenced Jan 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant