Class HuggingfaceChatAutoConfiguration
java.lang.Object
org.springframework.ai.autoconfigure.huggingface.HuggingfaceChatAutoConfiguration
@AutoConfiguration
@ConditionalOnClass(HuggingfaceChatClient.class)
@EnableConfigurationProperties(HuggingfaceChatProperties.class)
public class HuggingfaceChatAutoConfiguration
extends Object
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionhuggingfaceChatClient
(HuggingfaceChatProperties huggingfaceChatProperties)
-
Constructor Details
-
HuggingfaceChatAutoConfiguration
public HuggingfaceChatAutoConfiguration()
-
-
Method Details
-
huggingfaceChatClient
@Bean @ConditionalOnMissingBean @ConditionalOnProperty(prefix="spring.ai.huggingface.chat", name="enabled", havingValue="true", matchIfMissing=true) public HuggingfaceChatClient huggingfaceChatClient(HuggingfaceChatProperties huggingfaceChatProperties)
-