Closed Devasy23 closed 3 months ago
You can only raise issues from one repo every day!
Issues
4 New issues
0 Accepted issues
Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code
Failed conditions
0.0% Coverage on New Code (required ≥ 80%)
This pull request adds a new function called
vector_search
to theDatabase
class indatabase.py
. Thevector_search
function performs a pipeline aggregation vector search on the MongoDB Atlas database using the provided embedding. It returns a list of results with the name, image, and score of the closest matches. This functionality is useful for performing similarity searches based on face embeddings.