-
Notifications
You must be signed in to change notification settings - Fork 107
Feature: Add Document Retrieval with Metadata Filtering #231
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
base: main
Are you sure you want to change the base?
Feature: Add Document Retrieval with Metadata Filtering #231
Conversation
|
@cedrickrusche Thank you for opening this PR! I've left a couple of comments |
|
@dishaprakash Thank you for commenting but I can not see the comments |
|
@cedrickrusche sorry about the confusion, is it visible now? |
|
Thank you for the comments. I published the changes @dishaprakash |
|
@dishaprakash should we close that feature request in favour of #264 |
Yes, you can close this PR in the favor of #264! Thank you for the contribution! |

This pull request introduces the methods get and aget like in ChromaDB to retrieve data by metadata.
🔧 Changes
agetmethod to asynchronously retrieve documents based on optional filters and parameters.getmethod for synchronous document retrieval, leveraging the asynchronousagetmethod.__query_collection_with_filtermethod to support filtering conditions in the SQL WHERE clause without similarity function📈 Impact
These changes let us retrieve the current content to get insights about the data in the database e.g. to find outdated content.