Skip to main content
Version: v0.4.0

remote::watsonx

Description​

IBM WatsonX inference provider for accessing AI models on IBM's WatsonX platform.

Configuration​

FieldTypeRequiredDefaultDescription
allowed_modelslist[str] | NoneNoList of models that should be registered with the model registry. If None, all models are allowed.
refresh_modelsboolNoFalseWhether to refresh models periodically from the provider
api_keySecretStr | NoneNoAuthentication credential for the provider
base_urlHttpUrl | NoneNohttps://us-south.ml.cloud.ibm.comA base url for accessing the watsonx.ai
project_idstr | NoneNoThe watsonx.ai project ID
timeoutintNo60Timeout for the HTTP requests

Sample Configuration​

base_url: ${env.WATSONX_BASE_URL:=https://us-south.ml.cloud.ibm.com}
api_key: ${env.WATSONX_API_KEY:=}
project_id: ${env.WATSONX_PROJECT_ID:=}