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

      @WithDefault("false") Boolean logRequests()
      Whether the OpenAI client should log requests
    • logResponses

      @WithDefault("false") Boolean logResponses()
      Whether the OpenAI client should log responses