-
Notifications
You must be signed in to change notification settings - Fork 14.7k
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
partners: Use simsimd types #25299
Merged
Merged
partners: Use simsimd types #25299
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dosubot
bot
added
the
size:S
This PR changes 10-29 lines, ignoring generated files.
label
Aug 12, 2024
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Skipped Deployment
|
dosubot
bot
added
Ɑ: vector store
Related to vector store module
🔌: milvus
Primarily related to Milvus vector store integration
🔌: mongo
Primarily related to Mongo integrations
🔌: pinecone
Primarily related to Pinecone vector store integration
🔌: qdrant
Primarily related to Qdrant vector store integration
🤖:improvement
Medium size change to existing code to handle new use-cases
labels
Aug 12, 2024
cbornet
force-pushed
the
simsimd-types
branch
2 times, most recently
from
August 16, 2024 10:52
887c384
to
5902b34
Compare
cbornet
commented
Aug 16, 2024
@@ -77,7 +77,7 @@ def invoke_cosine_similarity_top_k_score_threshold( | |||
expected_scores = [1.0, 0.93419873, 0.87038828, 0.83743579] | |||
actual_idxs, actual_scores = cosine_similarity_top_k(X, Y, score_threshold=0.8) | |||
assert actual_idxs == expected_idxs | |||
assert np.allclose(expected_scores, actual_scores) | |||
assert np.allclose(expected_scores, actual_scores, rtol=1.0e-3) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
simsimd 5 is faster at the cost of a little precision: ashvardanian/SimSIMD#153
ccurme
approved these changes
Aug 23, 2024
dosubot
bot
added
the
lgtm
PR looks good. Use to confirm that a PR is ready for merging.
label
Aug 23, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
🤖:improvement
Medium size change to existing code to handle new use-cases
lgtm
PR looks good. Use to confirm that a PR is ready for merging.
🔌: milvus
Primarily related to Milvus vector store integration
🔌: mongo
Primarily related to Mongo integrations
partner
🔌: pinecone
Primarily related to Pinecone vector store integration
🔌: qdrant
Primarily related to Qdrant vector store integration
size:S
This PR changes 10-29 lines, ignoring generated files.
Ɑ: vector store
Related to vector store module
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The simsimd package now has types