-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sweep: Utility Function for Vector Similarity Search (β Sandbox Passed) #20
Sweep: Utility Function for Vector Similarity Search (β Sandbox Passed) #20
Conversation
Rollback Files For Sweep
This is an automated message generated by Sweep AI. |
Hi there! π Thanks for opening a PR. π To get the most out of Senior Dev, please sign up in our Web App, connect your GitHub account, and add/join your organization devansh-shah-11. After that, you will receive code reviews beginning on your next opened PR. π |
Codecov ReportAttention: Patch coverage is
β Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## main #20 +/- ##
==========================================
- Coverage 89.64% 86.98% -2.66%
==========================================
Files 6 6
Lines 280 292 +12
==========================================
+ Hits 251 254 +3
- Misses 29 38 +9 β View full report in Codecov by Sentry. |
Quality Gate passedIssues Measures |
PR Feedback (click)
Description
This pull request adds a utility function for vector similarity search in the API/database.py file. It also adds a new route for face recognition in the API/route.py file.
Summary
find_similar_vectors
method to theAPI/database.py
file to find the top n most similar vectors in the database using Euclidean distance./recognise_face
to theAPI/route.py
file for face recognition./recognise_face
route takes an embedding vector and the number of top similar vectors to return.find_similar_vectors
method to find the most similar face embeddings in the database.Fixes #18.
π Latest improvements to Sweep:
π‘ To get Sweep to edit this pull request, you can: