Interface Langchain4jHuggingFaceConfig


@ConfigRoot(phase=RUN_TIME) @ConfigMapping(prefix="quarkus.langchain4j.huggingface") public interface Langchain4jHuggingFaceConfig
  • Method Details

    • apiKey

      Optional<String> apiKey()
      HuggingFace API key
    • timeout

      @WithDefault("10s") Duration timeout()
      Timeout for HuggingFace calls
    • chatModel

      ChatModelConfig chatModel()
      Chat model related settings
    • embeddingModel

      EmbeddingModelConfig embeddingModel()
      Embedding model related settings
    • logRequests

      @ConfigDocDefault("false") Optional<Boolean> logRequests()
      Whether the HuggingFace client should log requests
    • logResponses

      @ConfigDocDefault("false") Optional<Boolean> logResponses()
      Whether the HuggingFace client should log responses