Metadata-Version: 2.1
Name: llama-index-llms-watsonx
Version: 0.1.8
Summary: llama-index llms watsonx integration
License: MIT
Author: Your Name
Author-email: you@example.com
Requires-Python: >=3.10,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Dist: ibm-watson-machine-learning (>=1.0.342,<2.0.0)
Requires-Dist: llama-index-core (>=0.10.11.post1,<0.11.0)
Description-Content-Type: text/markdown

# LlamaIndex Llms Integration: Watsonx

The usage of `llama-index-llms-watsonx` is deprecated in favor of `llama-index-llms-ibm`. To install recommended package that uses `ibm-watsonx-ai` underneath, run `pip install -qU llama-index-llms-ibm`. Use following to load the model using an IBM watsonx.ai integration

```python
from llama_index.llms.ibm import WatsonxLLM

watsonx_llm = WatsonxLLM(
    model_id="PASTE THE CHOSEN MODEL_ID HERE",
    url="PASTE YOUR URL HERE",
    apikey="PASTE YOUR IBM APIKEY HERE",
    project_id="PASTE YOUR PROJECT_ID HERE",
    temperature=temperature,
    max_new_tokens=max_new_tokens,
    additional_params=additional_params,
)
```

