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.1.5.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_yandexgpt-0.1.5.tar.gz.

File metadata

File hashes

Hashes for llama_index_embeddings_yandexgpt-0.1.5.tar.gz
Algorithm Hash digest
SHA256 a27bf9eb968e80af65bb50e0e1e8b6ca435a344074da66d2ce30feb774621f0b
MD5 586036c519bc175e212c77c3bc34f97f
BLAKE2b-256 830650b1d6d9309b380213147303e8d685e7beaea01c25e523aa9c508c3f33ff

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for llama_index_embeddings_yandexgpt-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 d2b18f3bfa8af3677a1514bc2999a07d8894a4a07dce38a8f4a4de88eba843d3
MD5 21e1e8bea21bf99fc44f97784ec20470
BLAKE2b-256 611ff20153152fa85942915edf3711b753d97d632d034f649edab9cf73125646

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