llama-index llms watsonx integration
Project description
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
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,
)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for llama_index_llms_watsonx-0.1.8.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 09cb3517004a3980b0c3649030696d85e408309cf102de45b43d6e113088c8f6 |
|
MD5 | ffe4029dd283bfb95712bc0206b61460 |
|
BLAKE2b-256 | a1ff2020b33b61629c00bf9a702d193f933684a692e47291bc2e0b555c77fa28 |
Close
Hashes for llama_index_llms_watsonx-0.1.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a6023e43c9c43949db13f46d0ebba923e7beaa4ef2c788a087eb1d951d4d344b |
|
MD5 | 081459c6aef07c25bce0e2f827170180 |
|
BLAKE2b-256 | f80d98beb8170b0f464f1ed75d32e801c816df9ba0511bdfa45748e573f38481 |