Skip to main content

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,
)

Metadata

Release files for llama-index-llms-watsonx 0.1.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for llama-index-llms-watsonx 0.1.8
File Size Uploaded Provenance Actions
llama_index_llms_watsonx-0.1.8.tar.gz 4.4 kB Without provenance Details for llama_index_llms_watsonx-0.1.8.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for llama-index-llms-watsonx 0.1.8
File Interpreter ABI Platform Actions
llama_index_llms_watsonx-0.1.8-py3-none-any.whl Python 3 none any Details for llama_index_llms_watsonx-0.1.8-py3-none-any.whl

Total release size: 9.5 kB

Release files / llama_index_llms_watsonx-0.1.8.tar.gz

Download URL llama_index_llms_watsonx-0.1.8.tar.gz
Size 4.4 kB
Tags Source
SHA-256 checksum
How to use checksums
09cb3517004a3980b0c3649030696d85e408309cf102de45b43d6e113088c8f6
BLAKE2b-256 checksum
How to use checksums
a1ff2020b33b61629c00bf9a702d193f933684a692e47291bc2e0b555c77fa28
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.3 CPython/3.10.14 Linux/6.5.0-1021-azure

Release files / llama_index_llms_watsonx-0.1.8-py3-none-any.whl

Download URL llama_index_llms_watsonx-0.1.8-py3-none-any.whl
Size 5.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a6023e43c9c43949db13f46d0ebba923e7beaa4ef2c788a087eb1d951d4d344b
BLAKE2b-256 checksum
How to use checksums
f80d98beb8170b0f464f1ed75d32e801c816df9ba0511bdfa45748e573f38481
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.3 CPython/3.10.14 Linux/6.5.0-1021-azure

Security for llama-index-llms-watsonx 0.1.8

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page