Skip to main content
Version: v0.3.2

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_models<class 'bool'>NoFalseWhether to refresh models periodically from the provider
api_keypydantic.types.SecretStr | NoneNoAuthentication credential for the provider
url<class 'str'>Nohttps://us-south.ml.cloud.ibm.comA base url for accessing the watsonx.ai
project_idstr | NoneNoThe watsonx.ai project ID
timeout<class 'int'>No60Timeout for the HTTP requests

Sample Configuration​

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