Add support for ids pre-filtering on query
Description of changes
Enables support for passing in a list of IDs that will pre-filter the embeddings set in the collection before performing kNN. Addresses request in https://github.com/chroma-core/chroma/issues/224.
Test plan
Unit tests.
Documentation Changes
Updated doc strings
thank you @vimota ! we are working on landing a test framework this week, and will pick this up directly after.
Awesome to hear!
Hi there ! Any update on this ?
@HammadB @levand I know we've chatted about this being easy once the refactor lands. Any updated thoughts on this? I know a lot of users would find this helpful.
@vimota thank you again for opening this PR - this is still valuable and we are going to bring it in to the API. we are going through a large refactor right now which will drop duckdb and clickhouse and so we are going to close this PR and then open a new PR in the near future. Thank you again for helping us think through this!
@jeffchuber That makes sense, no worries. Thanks for the update and looking forward to the changes!