oasysai / oasysdb

Hybrid vector database with flexible SQL storage engine & multi-index support.
https://docs.oasysdb.com/
Apache License 2.0
357 stars 12 forks source link

feat: initial filter implementation #86

Closed edwinkys closed 5 months ago

edwinkys commented 5 months ago

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