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.1.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.1.tar.gz.

File metadata

File hashes

Hashes for llama_index_embeddings_yandexgpt-0.4.1.tar.gz
Algorithm Hash digest
SHA256 42d8ee0b062088e9e18d6668f31718ccdb086cbba7c49bdeb5eadfd0288f109e
MD5 b695754f498d25f6c0edad9e970c394c
BLAKE2b-256 c5e861a7ad5298b50ab72f6d38dde1fa7469949fae5fbd9d310d0d2b85bc6e38

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for llama_index_embeddings_yandexgpt-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e5df8087b0cd9d1f9fdea9866a5b015842e7a95c96e997443c4d7f20d79aa1b7
MD5 20742dd53e69e60cf31ff7e66ae07948
BLAKE2b-256 7c621b1d9242aaf193a392ecdcd27fc92c4ff3bc79f76de75d33890c2c2bbe74

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