Skip to content

fix(rig-1118): rig-sqlite incorrectly uses euclidian distance#1217

Merged
joshua-mo-143 merged 1 commit intomainfrom
fix-rig-1118-sqlite-should-use-cosine-distance
Jan 6, 2026
Merged

fix(rig-1118): rig-sqlite incorrectly uses euclidian distance#1217
joshua-mo-143 merged 1 commit intomainfrom
fix-rig-1118-sqlite-should-use-cosine-distance

Conversation

@joshua-mo-143
Copy link
Collaborator

(hopefully) Fixes #1204

@edisontim Please check whether or not this branch fixes your issue

@linear
Copy link

linear bot commented Jan 5, 2026

@joshua-mo-143
Copy link
Collaborator Author

Merging as this appears to have identical results to the Qdrant integration (which we know for a fact does use cosine similarity by default).

@joshua-mo-143 joshua-mo-143 added this pull request to the merge queue Jan 6, 2026
Merged via the queue into main with commit 15f32ec Jan 6, 2026
5 checks passed
@github-actions github-actions bot mentioned this pull request Jan 6, 2026
@edisontim
Copy link
Contributor

Sorry I didn't really have time to test that, thanks for the PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug: sqlite top_n threshold filtering out best matches

2 participants