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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

llama_index_embeddings_gigachat-0.6.0.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file llama_index_embeddings_gigachat-0.6.0.tar.gz.

File metadata

  • Download URL: llama_index_embeddings_gigachat-0.6.0.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using 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}

File hashes

Hashes for llama_index_embeddings_gigachat-0.6.0.tar.gz
Algorithm Hash digest
SHA256 55b68a26ea5e704a94c6c1880f9c33a98629bf12fcd18fb4d18748d3de0cfae4
MD5 ab30fa8ab3dcaa958a01aab556524971
BLAKE2b-256 e6747f25f31ed739ebb5908791f3b489600be13e9a086dde0966e2ae739a8857

See more details on using hashes here.

File details

Details for the file llama_index_embeddings_gigachat-0.6.0-py3-none-any.whl.

File metadata

  • Download URL: llama_index_embeddings_gigachat-0.6.0-py3-none-any.whl
  • Upload date:
  • Size: 4.2 kB
  • Tags: Python 3
  • Uploaded using 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}

File hashes

Hashes for llama_index_embeddings_gigachat-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3f150c20cb5b6003bc683218108f32cd4b302a8de2210abcbb0c2f7369fe913d
MD5 ef99110bb0cbd464731afd129c8655b9
BLAKE2b-256 af73e36f3594d889b3916944ba25ce97746a1e593183d9e4c99b1a2e44fc68e3

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.6.0 This release

2 files

0.5.0

2 files

0.4.1

2 files

0.4.0

2 files

0.3.0

2 files

0.2.1

2 files

0.2.0

2 files

0.1.5

2 files

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