Open siddharthshankarpaul opened 5 months ago
Bug description Can't do similarity search with different columns.
see line 338 and 341 https://github.com/spring-projects/spring-ai/blob/9381ab609f40da038e85405586686c201f03c714/vector-stores/spring-ai-milvus-store/src/main/java/org/springframework/ai/vectorstore/MilvusVectorStore.java#L325-L341
Environment Spring AI version: 0.8.0 Java version: 17 vector store: Milvus (zilliz cloud)
Steps to reproduce Create a collection with columns other than [doc_id, content, metadata]. Now try to do similarity search.
[doc_id, content, metadata]
Expected behavior SearchRequest should provide way to override the default output params.
SearchRequest
Note: EMBEDDING_FIELD_NAME = embedding is also fixed.
EMBEDDING_FIELD_NAME = embedding
maybe related to search options in https://github.com/spring-projects/spring-ai/pull/203
Bug description Can't do similarity search with different columns.
see line 338 and 341 https://github.com/spring-projects/spring-ai/blob/9381ab609f40da038e85405586686c201f03c714/vector-stores/spring-ai-milvus-store/src/main/java/org/springframework/ai/vectorstore/MilvusVectorStore.java#L325-L341
Environment Spring AI version: 0.8.0 Java version: 17 vector store: Milvus (zilliz cloud)
Steps to reproduce Create a collection with columns other than
[doc_id, content, metadata]
. Now try to do similarity search.Expected behavior
SearchRequest
should provide way to override the default output params.Note:
EMBEDDING_FIELD_NAME = embedding
is also fixed.