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

Feature Request: limit document list for VectorStore query #888

Open
justinmann opened this issue May 24, 2024 · 1 comment
Open

Feature Request: limit document list for VectorStore query #888

justinmann opened this issue May 24, 2024 · 1 comment

Comments

@justinmann
Copy link
Contributor

I have multiple bots each with a set of documents. I only want them to query their documents.

I am able to solve this by wrapping from VectorStore and replacing the query function to add additional filters to query to limit the document list. Alternatively, I could solve this by creating one index & one collection for each bot. Most providers have limits one indexes, which make this prohibitive.

@marcusschiesser
Copy link
Collaborator

as far as I remember a couple of VectorStore implementations that we have can be limited on a collection. Can you tell us how your ideal example code would look like and what vector store are you using?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants