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
Environment
Please provide as many details as possible: Spring AI version, Java version, which vector store you use if any, etc
Springboot 3.3.2
SpringAI 1.0.0.SNAPSHOT
Java 17
RedisStack 6.2.6
Hey @yyqqing , could you please update your description in English.
when we use different vector db . use vectorStore.similaritySearch method to get the distance key is not same key . eg in in the RedisVectorStore key vector_score means DISTANCE_FIELD_NAME , while in ChromaVectorStore means DISTANCE_FIELD_NAME .it is a little odd.
Bug description
我们将向量库由 chromadb 转为 redis-stack,从 vectorStore.similaritySearch 返回的 Document 中,无法 从 Metadata 中获取 distance 值。
Environment
Please provide as many details as possible: Spring AI version, Java version, which vector store you use if any, etc
Springboot 3.3.2
SpringAI 1.0.0.SNAPSHOT
Java 17
RedisStack 6.2.6
Steps to reproduce
Expected behavior
希望 Metadata 中表示距离的 key 是统一的、确定的,避免切换向量库时代码不兼容
Minimal Complete Reproducible example
请见重现步骤部分
另外:我没有用过 Milvus,但猜测 #1256 可能与此有一点点关系
The text was updated successfully, but these errors were encountered: