This PR adds Collection.filter operation to allow users perform deterministic query on the collection. This can be useful to retrive vector records based on their metadata.
Approach
This PR adds a Metadata.match_filter method that takes in another Metadata to test against.
Testing
[x] I have tested this PR locally.
[x] I added tests to cover my changes, if not applicable, I have added a reason why.
New filter test suites will be added.
Chore checklist
[x] I have updated the documentation accordingly.
[x] I have added comments to most of my code, particularly in hard-to-understand areas.
Purpose
This PR adds
Collection.filter
operation to allow users perform deterministic query on the collection. This can be useful to retrive vector records based on their metadata.Approach
This PR adds a
Metadata.match_filter
method that takes in another Metadata to test against.Testing
New filter test suites will be added.
Chore checklist