Interface LangChain4jWatsonxConfig.WatsonConfig

Enclosing interface:
LangChain4jWatsonxConfig

public static interface LangChain4jWatsonxConfig.WatsonConfig
  • Method Details

    • baseUrl

      @WithDefault("https://dummy.ai/api") URL baseUrl()
      Base URL
    • apiKey

      @WithDefault("dummy") String apiKey()
      IBM Cloud API key
    • timeout

      @WithDefault("10s") Duration timeout()
      Timeout for watsonx.ai API calls
    • version

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

      @WithDefault("dummy") String projectId()
      Watsonx.ai project id.
    • logRequests

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

      @WithDefault("false") Boolean logResponses()
      Whether the watsonx.ai client should log responses
    • enableIntegration

      @WithDefault("true") Boolean enableIntegration()
      Whether or not to enable the integration. Defaults to true, which means requests are made to the watsonx.ai provider. Set to false to disable all requests.
    • iam

      IAMConfig iam()
      Chat model related settings
    • chatModel

      ChatModelConfig chatModel()
      Chat model related settings