Invoke Watsonx Models

Invokes an watsonx.ai model.

This example provides a sample configuration for the Invoke Watsonx Models policy. For more information on the policy parameter descriptions, see DataPower Nano Gateway documentation.

kind: InvokeWatsonxModels
apiVersion: api.ibm.com/v1
metadata:
  name: invoke-watsonx-models-policy
  namespace: sample
  version: '1.0'
spec:
  inputMessage: 'request' # Optional - default value is request
  outputMessage: 'response' # Optional - default value is response
  region: 'us-south' # One of "us-south"|"eu-de"|"eu-gb"|"jp-tok"
  tlsClientProfile: 'aiEndpointTlsClientProfile'
  opVersion: '2024-03-14'