LlamaIndex Embeddings Integration: Huggingface API
Integration with Hugging Face's Inference API for embeddings.
For more information on Hugging Face's Inference API, visit Hugging Face's Inference API documentation.
Installation
pip install llama-index-embeddings-huggingface-api
Usage
from llama_index.embeddings.huggingface_api import (
HuggingFaceInferenceAPIEmbedding,
)
my_embed = HuggingFaceInferenceAPIEmbedding(
model_name="BAAI/bge-small-en-v1.5",
token="<your-token>", # Optional
)
embeddings = my_embed.get_text_embedding("Why sky is blue")
Metadata
Release files for llama-index-embeddings-huggingface-api 0.6.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| llama_index_embeddings_huggingface_api-0.6.0.tar.gz | 6.0 kB | Without provenance | Details for llama_index_embeddings_huggingface_api-0.6.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| llama_index_embeddings_huggingface_api-0.6.0-py3-none-any.whl | Python 3 | none | any | Details for llama_index_embeddings_huggingface_api-0.6.0-py3-none-any.whl |
Total release size: 12.0 kB
Release files / llama_index_embeddings_huggingface_api-0.6.0.tar.gz
| Download URL | llama_index_embeddings_huggingface_api-0.6.0.tar.gz |
|---|---|
| Size | 6.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dbbf9ab28bbf79c268e0bb3770b200b8c3c0c5c12d60004a56223fd925013981
|
|
BLAKE2b-256 checksum How to use checksums |
b4c8e7b6dc003826305b16a94df83566b412d26d2b6a1be0a484737fed41736c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.7 {"installer":{"name":"uv","version":"0.12.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / llama_index_embeddings_huggingface_api-0.6.0-py3-none-any.whl
| Download URL | llama_index_embeddings_huggingface_api-0.6.0-py3-none-any.whl |
|---|---|
| Size | 6.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3a9abc5e5d76d99f5433ee8ef563604aac5cc69a154e43ba183270dfa5646e2e
|
|
BLAKE2b-256 checksum How to use checksums |
272846ab2a1c481461428e42c3b7898aa05bc19b2d3da1ebbd1758aa6ea932df
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.7 {"installer":{"name":"uv","version":"0.12.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for llama-index-embeddings-huggingface-api 0.6.0
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.