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

Built distribution (wheel)

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

Total release size: 8.6 kB

Release files / llama_index_embeddings_gigachat-0.7.0.tar.gz

Download URL llama_index_embeddings_gigachat-0.7.0.tar.gz
Size 4.4 kB
Tags Source
SHA-256 checksum
How to use checksums
6cdb9280239bd794f85df7359a713a98e0b482acdac7c1a08c8d08a3c087d094
BLAKE2b-256 checksum
How to use checksums
de9ac5e26b66d0005defcf251c5193ee722ce41cadacbda44acfa3fa9f94adcf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.8 {"installer":{"name":"uv","version":"0.13.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","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.7.0-py3-none-any.whl

Download URL llama_index_embeddings_gigachat-0.7.0-py3-none-any.whl
Size 4.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3241d0bd01b081129a4a61f9f87ba864f5dc8728900725ecb85a4161a7440e48
BLAKE2b-256 checksum
How to use checksums
a79df6b02ebc8ee69a2c6b9c7ad5a0856365d432c21d40767d4696c15a95c9f9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.8 {"installer":{"name":"uv","version":"0.13.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","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.7.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