Class HuggingfaceChatProperties

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

@ConfigurationProperties("spring.ai.huggingface.chat") public class HuggingfaceChatProperties extends Object
Configuration properties for Hugging Face chat model.
Author:
Christian Tzolov, Josh Long, Mark Pollack, Thomas Vitale
  • Field Details

  • Constructor Details

    • HuggingfaceChatProperties

      public HuggingfaceChatProperties()
  • Method Details

    • getApiKey

      public String getApiKey()
    • setApiKey

      public void setApiKey(String apiKey)
    • getUrl

      public String getUrl()
    • setUrl

      public void setUrl(String url)
    • isEnabled

      public boolean isEnabled()
    • setEnabled

      public void setEnabled(boolean enabled)