Closed sweep-ai[bot] closed 5 months ago
This is an automated message generated by Sweep AI.
Hi there! :wave: Thanks for opening a PR. :tada: 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. :rocket:
Attention: Patch coverage is 25.00000%
with 9 lines
in your changes are missing coverage. Please review.
Project coverage is 86.98%. Comparing base (
91e83d1
) to head (7b8ca4e
).
Files | Patch % | Lines |
---|---|---|
API/route.py | 22.22% | 7 Missing :warning: |
API/database.py | 33.33% | 2 Missing :warning: |
:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Issues
1 New issue
0 Accepted issues
Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code
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: