Skip to main content

llama-index embeddings yandexgpt integration

Project description

LlamaIndex Embeddings Integration: YandexGPT

YandexGPT Embeddings provides text embedding service using the Yandex Cloud API. It supports both synchronous and asynchronous methods for embedding texts and documents(queries), making it flexible and suitable for various applications in natural language processing (NLP) and machine learning.

To learn more about Yandex Cloud API and embedding principles, visit https://yandex.cloud/en/docs/foundation-models/concepts/embeddings

Installation

pip install llama-index-embeddings-yandexgpt

Usage

from llama_index.embeddings.yandexgpt import YandexGPTEmbedding

Initialization Parameters:

  • api_key: The API key for Yandex Cloud. This key is required for authenticating requests.
  • folder_id: The folder ID for Yandex Cloud.
embeddings = YandexGPTEmbedding(
    api_key="your-api-key",
    folder_id="your-folder-id",
)

Example

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

Project details


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_yandexgpt-0.5.0.tar.gz (5.8 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_yandexgpt-0.5.0.tar.gz.

File metadata

  • Download URL: llama_index_embeddings_yandexgpt-0.5.0.tar.gz
  • Upload date:
  • Size: 5.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","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_yandexgpt-0.5.0.tar.gz
Algorithm Hash digest
SHA256 587be3c29ec0bd6a62484f175e48fda1201fe505f4632f6fd345863edab27d59
MD5 cba26bfc4b9605015725ef4c41859e63
BLAKE2b-256 9d46dc5bd4f36b222b07126f73b9996d00206cd2ec12da7e6abe8282eab5876f

See more details on using hashes here.

File details

Details for the file llama_index_embeddings_yandexgpt-0.5.0-py3-none-any.whl.

File metadata

  • Download URL: llama_index_embeddings_yandexgpt-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 5.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","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_yandexgpt-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 014c25bba0309e77429ff1ee3570084620ea67b20c55740c66e07ae3098b249c
MD5 665bc8286a814c200ab9f3ba93f8d89f
BLAKE2b-256 a88fb9fdf8326ecc654028a04517dd191cd23cb8f8ba27eea607e51db6073566

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page