feat: return scores from vector queries - #1355
Merged
Merged
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #1355 +/- ##
==========================================
+ Coverage 72.28% 72.64% +0.36%
==========================================
Files 94 94
Lines 18278 18312 +34
==========================================
+ Hits 13212 13303 +91
+ Misses 3660 3634 -26
+ Partials 1406 1375 -31 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
zhangzhenghao
force-pushed
the
feat/query-vectors-score
branch
2 times, most recently
from
August 2, 2026 01:40
a0574a8 to
08d3de5
Compare
zhangzhenghao
force-pushed
the
feat/query-vectors-score
branch
from
August 2, 2026 01:47
08d3de5 to
d4522a9
Compare
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
ScoredVectorand makeQueryVectorsreturn vector similarity scoresQueryVectorsResponse.vectorsfield 1 directly toScoredVectorScore semantics
Testing
go test ./storage/vectors -run '^(TestNoDatabase|TestSQLite|TestProxy)$' -count=1go vet ./storage/vectors ./protocolgo test ./protocol ./storage/vectors ./logics ./master ./server ./worker -run '^$'go test ./... -run '^$' -count=1git diff --check