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
GH-3896: Similarity searches with the MariaDBVectorStore do not provide a score
Fixes#3896FixesGH-3896 (#3896) In addition to provide the distance as part of the metadata, MariaDBVectorStore calculates the score from the distance and sets via the builder. Signed-off-by: Tilman Holube <tilman@holube.de> Restore distance as part of metadata Signed-off-by: Soby Chacko <soby.chacko@broadcom.com> (cherry picked from commit 891ef2a)
Copy file name to clipboardExpand all lines: vector-stores/spring-ai-mariadb-store/src/main/java/org/springframework/ai/vectorstore/mariadb/MariaDBVectorStore.java
+7-1Lines changed: 7 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -487,7 +487,13 @@ public Document mapRow(ResultSet rs, int rowNum) throws SQLException {
Copy file name to clipboardExpand all lines: vector-stores/spring-ai-mariadb-store/src/test/java/org/springframework/ai/vectorstore/mariadb/MariaDBStoreIT.java
0 commit comments