Class MilvusVectorStoreAutoConfiguration
java.lang.Object
org.springframework.ai.autoconfigure.vectorstore.milvus.MilvusVectorStoreAutoConfiguration
@AutoConfiguration
@ConditionalOnClass({MilvusVectorStore.class,EmbeddingClient.class})
@EnableConfigurationProperties({MilvusServiceClientProperties.class,MilvusVectorStoreProperties.class})
public class MilvusVectorStoreAutoConfiguration
extends Object
- Author:
- Christian Tzolov
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionio.milvus.client.MilvusServiceClient
milvusClient
(MilvusVectorStoreProperties serverProperties, MilvusServiceClientProperties clientProperties) vectorStore
(io.milvus.client.MilvusServiceClient milvusClient, EmbeddingClient embeddingClient, MilvusVectorStoreProperties properties)
-
Constructor Details
-
MilvusVectorStoreAutoConfiguration
public MilvusVectorStoreAutoConfiguration()
-
-
Method Details
-
vectorStore
@Bean @ConditionalOnMissingBean public MilvusVectorStore vectorStore(io.milvus.client.MilvusServiceClient milvusClient, EmbeddingClient embeddingClient, MilvusVectorStoreProperties properties) -
milvusClient
@Bean @ConditionalOnMissingBean public io.milvus.client.MilvusServiceClient milvusClient(MilvusVectorStoreProperties serverProperties, MilvusServiceClientProperties clientProperties)
-