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

QUERY: Is there a way to restrict the search space within the corpus while querying? #156

Open
uneetkumarsingh opened this issue May 15, 2024 · 2 comments

Comments

@uneetkumarsingh
Copy link

Say I have 10 documents in the corpus, I want to run query only against say one or two documents. Can I do that?

@uneetkumarsingh uneetkumarsingh changed the title QUERY: Is there a way to restrict the search space within the database while querying? QUERY: Is there a way to restrict the search space within the corpus while querying? May 15, 2024
@ofermend
Copy link
Collaborator

Vectara-answer does not provide a configuration for this, but you can modify it to your needs. For example, you can modify the query API call to Vectara so it filters by the document ID for those documents you want to include.

@ofermend
Copy link
Collaborator

ofermend commented Sep 4, 2024

@uneetkumarsingh
does that help address your issue (using filters)?

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