LlamaIndex integration for IBM watsonx.ai foundation models. Current version 0.7.0.post1 requires Python 3.11+ and <3.14. Lightly maintained, with occasional releases following LlamaIndex updates.
pip install llama-index-llms-ibmNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Minimal example using WatsonxLLM. Set WATSONX_APIKEY and WATSONX_PROJECT_ID environment variables.
Update imports to use WatsonxLLM class and correct path.
Always specify `model_id` when creating WatsonxLLM instance.
Ensure both WATSONX_APIKEY and WATSONX_PROJECT_ID are set.
Replace `IBM` with `WatsonxLLM`.