Interface Langchain4jWatsonConfig


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

    • baseUrl

      URL baseUrl()
      Base URL
    • apiKey

      String apiKey()
      Watsonx API key
    • timeout

      @WithDefault("10s") Duration timeout()
      Timeout for Watsonx API calls
    • version

      @WithDefault("2023-05-29") String version()
      Version to use
    • projectId

      String projectId()
      Watsonx project id.
    • logRequests

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

      @WithDefault("false") Boolean logResponses()
      Whether the Watsonx client should log responses
    • iam

      IAMConfig iam()
      Chat model related settings
    • chatModel

      ChatModelConfig chatModel()
      Chat model related settings