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.4.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.4.0.tar.gz.

File metadata

File hashes

Hashes for llama_index_embeddings_yandexgpt-0.4.0.tar.gz
Algorithm Hash digest
SHA256 ab942496b7e28a25c7afa2575563b1fe99d0711c67e03938933cc012542f61d8
MD5 45f9bda8e4e294c9c88e869c3fa987e1
BLAKE2b-256 625602b23a03a8a200cfb6d536730341508f208f143ebe1511927daf5a507304

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for llama_index_embeddings_yandexgpt-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 293f1ccad8a1138fc69ff2b2266a0d8e11a9ba8f9f6b03703cc90ddb9907ae94
MD5 aedde8e3cf3575ff15b555f4d66ddc87
BLAKE2b-256 74c7e92770b3b7312f26d24f683b8f244fd8c521df62330f396581b386f9872b

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