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
FixesGH-3896 (#3896)
The MariaDBVectorStore no longer puts the distance in the metadata when doing a similarity search. Instead, the score is calculated from the distance and set via the builder.
Signed-off-by: Tilman Holube <[email protected]>
Copy file name to clipboardExpand all lines: vector-stores/spring-ai-mariadb-store/src/main/java/org/springframework/ai/vectorstore/mariadb/MariaDBVectorStore.java
+7-3Lines changed: 7 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -485,9 +485,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