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