Class TransformersEmbeddingClientAutoConfiguration
java.lang.Object
org.springframework.ai.autoconfigure.embedding.transformer.TransformersEmbeddingClientAutoConfiguration
@AutoConfiguration
@EnableConfigurationProperties(TransformersEmbeddingClientProperties.class)
@ConditionalOnClass({ai.onnxruntime.OrtSession.class,ai.djl.huggingface.tokenizers.HuggingFaceTokenizer.class})
public class TransformersEmbeddingClientAutoConfiguration
extends Object
- Author:
- Christian Tzolov
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionembeddingClient
(TransformersEmbeddingClientProperties properties)
-
Constructor Details
-
TransformersEmbeddingClientAutoConfiguration
public TransformersEmbeddingClientAutoConfiguration()
-
-
Method Details
-
embeddingClient
@Bean @ConditionalOnMissingBean public EmbeddingClient embeddingClient(TransformersEmbeddingClientProperties properties)
-