Class ChromaVectorStoreAutoConfiguration
java.lang.Object
org.springframework.ai.autoconfigure.vectorstore.chroma.ChromaVectorStoreAutoConfiguration
@AutoConfiguration
@ConditionalOnClass({EmbeddingClient.class,org.springframework.web.client.RestTemplate.class,ChromaVectorStore.class,com.fasterxml.jackson.databind.ObjectMapper.class})
@EnableConfigurationProperties({ChromaApiProperties.class,ChromaVectorStoreProperties.class})
public class ChromaVectorStoreAutoConfiguration
extends Object
- Author:
- Christian Tzolov
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionchromaApi
(ChromaApiProperties apiProperties, org.springframework.web.client.RestTemplate restTemplate) org.springframework.web.client.RestTemplate
vectorStore
(EmbeddingClient embeddingClient, ChromaApi chromaApi, ChromaVectorStoreProperties storeProperties)
-
Constructor Details
-
ChromaVectorStoreAutoConfiguration
public ChromaVectorStoreAutoConfiguration()
-
-
Method Details
-
restTemplate
@Bean @ConditionalOnMissingBean public org.springframework.web.client.RestTemplate restTemplate() -
chromaApi
@Bean @ConditionalOnMissingBean public ChromaApi chromaApi(ChromaApiProperties apiProperties, org.springframework.web.client.RestTemplate restTemplate) -
vectorStore
@Bean @ConditionalOnMissingBean public ChromaVectorStore vectorStore(EmbeddingClient embeddingClient, ChromaApi chromaApi, ChromaVectorStoreProperties storeProperties)
-