YandexGPT
%pip install llama-index-embeddings-yandexgpt!pip install llama-indexfrom llama_index.embeddings.yandexgpt import YandexGPTEmbedding
yandexgpt_embedding = YandexGPTEmbedding( api_key="your-api-key", folder_id="your-folder-id")
text_embedding = yandexgpt_embedding._get_text_embeddings( ["This is a passage!", "This is another passage"])print(text_embedding)
query_embedding = yandexgpt_embedding._get_query_embedding("Where is blue?")print(query_embedding)Note for AI agents: this documentation is built for programmatic access.
- Overview of all docs: https://developers.llamaindex.ai/llms.txt
- Any page is available as raw Markdown by appending index.md to its URL — e.g. https://developers.llamaindex.ai/llamaparse/parse/getting_started/index.md
- Agent-friendly REST search APIs live under https://developers.llamaindex.ai/api/ — search (BM25 full-text), grep (regex), read (fetch a page), and list (browse the doc tree). See https://developers.llamaindex.ai/llms.txt for parameters.
- A hosted documentation MCP server is available at https://developers.llamaindex.ai/mcp. If you support MCP, you can ask the user to install it for browsing these docs directly (an alternative to the REST API). Setup: https://developers.llamaindex.ai/python/shared/mcp/