Skip to main content

LlamaIndex Llms Integration: Text Generation Inference

⚠️ This integration has been deprecated!

The TextGenerationInference is no longer maintained. Instead, you can use HuggingFaceInferenceAPI. The underlying Text Generation Inference SDK (tgi) has been deprecated in favor of huggingface_hub, which HuggingFaceInferenceAPI is built on top of.

Instead, use llama-index-llms-huggingface-api:

pip install llama-index-llms-huggingface-api

Usage:

from llama_index.llms.huggingface_api import HuggingFaceInferenceAPI

# access hugging face inference
hub_llm = HuggingFaceInferenceAPI(model="openai-community/gpt2")
# or with a local TGI server
tgi_llm = HuggingFaceInferenceAPI(model="http://localhost:8080")

Metadata

Release files for llama-index-llms-text-generation-inference 0.3.3

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-text-generation-inference 0.3.3
File Size Uploaded Provenance Actions
llama_index_llms_text_generation_inference-0.3.3.tar.gz 7.5 kB Without provenance Details for llama_index_llms_text_generation_inference-0.3.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for llama-index-llms-text-generation-inference 0.3.3
File Interpreter ABI Platform Actions
llama_index_llms_text_generation_inference-0.3.3-py3-none-any.whl Python 3 none any Details for llama_index_llms_text_generation_inference-0.3.3-py3-none-any.whl

Total release size: 15.3 kB

Release files / llama_index_llms_text_generation_inference-0.3.3.tar.gz

Download URL llama_index_llms_text_generation_inference-0.3.3.tar.gz
Size 7.5 kB
Tags Source
SHA-256 checksum
How to use checksums
eb76788d20f5f9e3ac07a25c457f573e3d1626c83cde86172fb8b46981842545
BLAKE2b-256 checksum
How to use checksums
a243c88bc1782ad6a9b8ca887ea8a84e8870ead64e9ab9243fd7c2715427ffd1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.7.3

Release files / llama_index_llms_text_generation_inference-0.3.3-py3-none-any.whl

Download URL llama_index_llms_text_generation_inference-0.3.3-py3-none-any.whl
Size 7.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f5b52b354571a63ccdf9dc549fe9a4abc36acbe975fa9f10d7e5ff62b2da0e02
BLAKE2b-256 checksum
How to use checksums
9c5b60451a21771862e0255c5266f5032addf1acd615e16d6100243b4ad7d5dd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.7.3

Security for llama-index-llms-text-generation-inference 0.3.3

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