Skip to content

feat: store distance scores in scores dict#873

Merged
JohannesMessner merged 6 commits intomainfrom
feat-milvus-store-scores-in-find
Nov 30, 2022
Merged

feat: store distance scores in scores dict#873
JohannesMessner merged 6 commits intomainfrom
feat-milvus-store-scores-in-find

Conversation

@anna-charlotte
Copy link
Copy Markdown
Contributor

@anna-charlotte anna-charlotte commented Nov 29, 2022

Signed-off-by: anna-charlotte [email protected]

Goals:
Milvus: Store distance scores in a Document's .scores dictionary, under the key 'score' to enable accessing those scores.

  • store distance values in .scores dict with key = 'score'
  • update milvus documentation
  • update 'Add New Document Store' section in documentation

@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Nov 29, 2022

Codecov Report

Base: 86.36% // Head: 86.38% // Increases project coverage by +0.01% 🎉

Coverage data is based on head (4ae6046) compared to base (67209b8).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #873      +/-   ##
==========================================
+ Coverage   86.36%   86.38%   +0.01%     
==========================================
  Files         138      138              
  Lines        7116     7122       +6     
==========================================
+ Hits         6146     6152       +6     
  Misses        970      970              
Flag Coverage Δ
docarray 86.38% <100.00%> (+0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
docarray/array/storage/milvus/backend.py 93.49% <100.00%> (+0.23%) ⬆️
docarray/array/storage/milvus/find.py 75.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

Signed-off-by: anna-charlotte <[email protected]>
@anna-charlotte anna-charlotte marked this pull request as ready for review November 29, 2022 15:23
Copy link
Copy Markdown
Contributor

@alexcg1 alexcg1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@anna-charlotte anna-charlotte force-pushed the feat-milvus-store-scores-in-find branch from 3ac06fe to 50fe8e0 Compare November 30, 2022 07:47
Signed-off-by: anna-charlotte <[email protected]>
Copy link
Copy Markdown
Member

@JohannesMessner JohannesMessner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! There is one test failing unexpectedly, should not be related, but let's re-run the CI before we merge

@github-actions
Copy link
Copy Markdown

📝 Docs are deployed on https://ft-feat-milvus-store-scores-in-find--jina-docs.netlify.app 🎉

@JohannesMessner JohannesMessner merged commit 7a5b0bf into main Nov 30, 2022
@JohannesMessner JohannesMessner deleted the feat-milvus-store-scores-in-find branch November 30, 2022 14:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants