@Bean public VectorStore vectorStore(MilvusServiceClient milvusClient, EmbeddingModel embeddingModel) { MilvusVectorStore.MilvusVectorStoreConfig config = MilvusVectorStore.MilvusVectorStoreConfig.builder() .withCollectionName("test_vector_store") .withDatabaseName("default") .withIndexType(IndexType.IVF_FLAT) .withMetricType(MetricType.COSINE) .build(); return new MilvusVectorStore(milvusClient, embeddingModel,config); }

i had saw this demo in spring-ai in order to use MilvusVectoreStore functions. However, since i am adding milvus 2.5 version into my project mannually, this demo is not useful in my project since MilvusVectorStore can not be declared by those 3 params above, it ask 2 more params which are initializeSchema and batchingStrategy. Having no idea how to go over it, please help

Comment From: Alexlele1228

org.springframework.ai spring-ai-milvus-store io.milvus milvus-sdk-java 2.5.0 i am adding dependency mannually instead of starter just to use the newest version of milvus. i think this cause such a problem

Comment From: Alexlele1228

wrong close