Class HuggingfaceChatAutoConfiguration

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

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