You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
retrieval: TurbopufferVectorStore returns raw distance as score (inconsistent with other stores) #1014
TurbopufferVectorStore._search_sync emits the raw dist value into the score field. Turbopuffer distance is lower-is-better, whereas every other SynapseKit store returns a cosine similarity (higher-is-better). Result ordering is correct (turbopuffer orders by distance), so this is a semantic/consistency issue, not a wrong-order bug — but a user applying a score > threshold filter across stores, or comparing scores, gets inverted behavior.
Note: distance_metric is configurable (cosine_distance, euclidean_squared), so the fix must be metric-aware — e.g. 1 - dist only for cosine. Deferred from the #1012 merge to avoid a metric-dependent partial fix.
Activity
Merge #1012: add 9 vector stores (closes #888)