Skip to main content

LlamaIndex Embeddings Integration: GigaChat

GigaChat Embedding provides a way to generate embeddings for text and documents using the GigaChat API within the llama_index library.

To learn more about GigaChat and embedding principles, visit https://developers.sber.ru/docs/ru/gigachat/api/embeddings?tool=api

Installation

pip install gigachat
pip install llama-index-embeddings-gigachat

Usage

from llama_index.embeddings.gigachat import GigaChatEmbedding

Initialization Parameters:

  • auth_data: GigaChat authentication data.
  • scope: The scope of your GigaChat API access. Use "GIGACHAT_API_PERS" for personal use or "GIGACHAT_API_CORP" for corporate use.
embeddings = GigaChatEmbedding(
    auth_data="YOUR_AUTH_DATA",
    scope="GIGACHAT_API_CORP",
)

Example

See the example notebook for a detailed walkthrough of using GigaChat embeddings with LlamaIndex.

Metadata

Release files for llama-index-embeddings-gigachat 0.6.0

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-embeddings-gigachat 0.6.0
File Size Uploaded Provenance Actions
llama_index_embeddings_gigachat-0.6.0.tar.gz 4.4 kB Without provenance Details for llama_index_embeddings_gigachat-0.6.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for llama-index-embeddings-gigachat 0.6.0
File Interpreter ABI Platform Actions
llama_index_embeddings_gigachat-0.6.0-py3-none-any.whl Python 3 none any Details for llama_index_embeddings_gigachat-0.6.0-py3-none-any.whl

Total release size: 8.6 kB

Release files / llama_index_embeddings_gigachat-0.6.0.tar.gz

Download URL llama_index_embeddings_gigachat-0.6.0.tar.gz
Size 4.4 kB
Tags Source
SHA-256 checksum
How to use checksums
55b68a26ea5e704a94c6c1880f9c33a98629bf12fcd18fb4d18748d3de0cfae4
BLAKE2b-256 checksum
How to use checksums
e6747f25f31ed739ebb5908791f3b489600be13e9a086dde0966e2ae739a8857
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_gigachat-0.6.0-py3-none-any.whl

Download URL llama_index_embeddings_gigachat-0.6.0-py3-none-any.whl
Size 4.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3f150c20cb5b6003bc683218108f32cd4b302a8de2210abcbb0c2f7369fe913d
BLAKE2b-256 checksum
How to use checksums
af73e36f3594d889b3916944ba25ce97746a1e593183d9e4c99b1a2e44fc68e3
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-gigachat 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.

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