Class HuggingfaceChatAutoConfiguration

java.lang.Object
org.springframework.ai.autoconfigure.huggingface.HuggingfaceChatAutoConfiguration

@AutoConfiguration @ConditionalOnClass(HuggingfaceChatModel.class) @EnableConfigurationProperties(HuggingfaceChatProperties.class) public class HuggingfaceChatAutoConfiguration extends Object
  • 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)