Interface LangChain4jWatsonxConfig.WatsonConfig
- Enclosing interface:
- LangChain4jWatsonxConfig
public static interface LangChain4jWatsonxConfig.WatsonConfig
-
Method Summary
Modifier and TypeMethodDescriptionapiKey()IBM Cloud API keybaseUrl()Base URLChat model related settingsWhether or not to enable the integration.iam()Chat model related settingsWhether the watsonx.ai client should log requestsWhether the watsonx.ai client should log responsesWatsonx.ai project id.timeout()Timeout for watsonx.ai API callsversion()Version to use
-
Method Details
-
baseUrl
Base URL -
apiKey
IBM Cloud API key -
timeout
Timeout for watsonx.ai API calls -
version
Version to use -
projectId
Watsonx.ai project id. -
logRequests
Whether the watsonx.ai client should log requests -
logResponses
Whether the watsonx.ai client should log responses -
enableIntegration
Whether or not to enable the integration. Defaults totrue, which means requests are made to the watsonx.ai provider. Set tofalseto disable all requests. -
iam
IAMConfig iam()Chat model related settings -
chatModel
ChatModelConfig chatModel()Chat model related settings
-