LlamaIndex Embeddings Integration: Nebius AI Studio
Overview
Integrate with Nebius AI Studio API, which provides access to open-source state-of-the-art text embeddings models.
Installation
pip install llama-index-embeddings-nebius
Usage
Initialization
With environmental variables.
NEBIUS_API_KEY=your_api_key
from llama_index.embeddings.nebius import NebiusEmbedding
embed_model = NebiusEmbedding(model_name="BAAI/bge-en-icl")
Without environmental variables
from llama_index.embeddings.nebius import NebiusEmbedding
embed_model = NebiusEmbedding(
api_key="your_api_key", model_name="BAAI/bge-en-icl"
)
Launching
Basic usage
text = "Everyone loves justice at another person's expense"
embeddings = embed_model.get_text_embedding(text)
print(embeddings[:5])
Asynchronous usage
text = "Everyone loves justice at another person's expense"
embeddings = await embed_model.aget_text_embedding(text)
print(embeddings[:5])
Batched usage
texts = [
"As the hours pass",
"I will let you know",
"That I need to ask",
"Before I'm alone",
]
embeddings = embed_model.get_text_embedding_batch(texts)
print(*[x[:3] for x in embeddings], sep="\n")
Batched asynchronous usage
texts = [
"As the hours pass",
"I will let you know",
"That I need to ask",
"Before I'm alone",
]
embeddings = await embed_model.aget_text_embedding_batch(texts)
print(*[x[:3] for x in embeddings], sep="\n")
Metadata
Release files for llama-index-embeddings-nebius 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_nebius-0.6.0.tar.gz | 4.4 kB | Without provenance | Details for llama_index_embeddings_nebius-0.6.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| llama_index_embeddings_nebius-0.6.0-py3-none-any.whl | Python 3 | none | any | Details for llama_index_embeddings_nebius-0.6.0-py3-none-any.whl |
Total release size: 8.7 kB
Release files / llama_index_embeddings_nebius-0.6.0.tar.gz
| Download URL | llama_index_embeddings_nebius-0.6.0.tar.gz |
|---|---|
| Size | 4.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
01c887feaa84bf2fc18614815c3691903679f6d3da5a0c1aa3b5e9ec988158b8
|
|
BLAKE2b-256 checksum How to use checksums |
d54d0f16323aaec92ff4c1e3ec2297b55cef4388dd80e6fe927c4eba773abbca
|
| 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_nebius-0.6.0-py3-none-any.whl
| Download URL | llama_index_embeddings_nebius-0.6.0-py3-none-any.whl |
|---|---|
| Size | 4.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2cbb5ec0dde6b63238e563542caa0a21eeb7598ea4b731f51bef472ae9ba1ddf
|
|
BLAKE2b-256 checksum How to use checksums |
784194e1cb140dd92a4fb88b27e581105d2cccf81263c6507cfcfa0ed4e793e9
|
| 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-nebius 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.