voxel51 / fiftyone-brain

Open source AI/ML capabilities for the FiftyOne ecosystem
https://fiftyone.ai/brain.html
Apache License 2.0
128 stars 3 forks source link

Fix mongodb vector db integration #159

Closed kaixi-wang closed 11 months ago

kaixi-wang commented 11 months ago

motor doesn't have a coll.list_search_indexes() function, so compute_similarity() will fail if run with the async client. However, we can still run the query via aggregation

TEAMS-2055