$npx skillfedfor your agent

llama-index-embeddings-google-genai

llama-index embeddings google genai integration

With conditionsPyPI Artificial IntelligenceReleased May 2026404.9K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — llama_index_embeddings_google_genai-0.5.1-py3-none-any.whl
v0.5.1 · released 2026-05-19 · Python <4.0,>=3.10 · 2 runtime deps: google-genai, llama-index-core

Yes, if you are already using llama-index and need Google's embedding models. The low install friction, active maintenance, MIT license, and zero known vulnerabilities make it a straightforward choice. No if you don't use llama-index or prefer other embedding providers.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.10 or later (supports_current).
  • Google GenAI API credentials must be configured.
  • Low install friction with only 2 runtime dependencies (google-genai and llama-index-core).

License · maintenance · safety

MIT (permissive) — MIT license permits free use, modification, and distribution with minimal restrictions, making it suitable for both open-source and commercial projects.

last release 2026-05-19 (87 days)

0 known vulnerabilities (OSV.dev, 2026-08-14) · 404,945 downloads/mo, #6,909 on PyPI

Verify before relying

pip install llama-index-embeddings-google-genai

from llama_index.embeddings.google_genai import GoogleGenAIEmbedding

embed_model = GoogleGenAIEmbedding(model_name="gemini-embedding-2-preview")
embeddings = embed_model.get_text_embedding("Hello, world!")
  • Whether google-genai dependency requires API credentials or authentication setup beyond standard environment variables
  • Performance characteristics and rate limits when used with Vertex AI vs. direct GenAI API
  • Compatibility guarantees with specific versions of llama-index-core
Same gist for agents: .md · .json

What it is and what it does

This package wraps Google's embedding APIs (Gemini and Vertex AI) for use within the llama-index framework. It lets you generate text embeddings using Google's models without writing the integration layer yourself. The package handles both direct GenAI API calls and Vertex AI deployments, accepting configuration like project ID and location for the latter.

You instantiate an embedding model by specifying the model name (e.g., "gemini-embedding-2-preview") and optional Vertex AI credentials, then call get_text_embedding() to convert text into vector form. It's designed as a drop-in embedding provider for llama-index workflows that need Google's embedding models.

Use it for

  • Building RAG pipelines with llama-index using Google's embedding models
  • Generating embeddings for semantic search over document collections via Gemini or Vertex AI
  • Integrating Google's embeddings into multi-step llama-index workflows without custom API glue code
  • Using Vertex AI embeddings in enterprise GCP environments with project-scoped authentication

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you are already using llama-index and need Google's embedding models.

The low install friction, active maintenance, MIT license, and zero known vulnerabilities make it a straightforward choice. No if you don't use llama-index or prefer other embedding providers.

Install

llama-index-embeddings-google-genai on PyPI

Before you install

Low install friction with only 2 runtime dependencies (google-genai and llama-index-core). Maintenance status is active, with the latest release dated 2026-05-19.

Requires Python 3.10 or later (supports_current). Google GenAI API credentials must be configured.

License in practice

MIT license permits free use, modification, and distribution with minimal restrictions, making it suitable for both open-source and commercial projects.

Quickstart

pip install llama-index-embeddings-google-genai

from llama_index.embeddings.google_genai import GoogleGenAIEmbedding

embed_model = GoogleGenAIEmbedding(model_name="gemini-embedding-2-preview")
embeddings = embed_model.get_text_embedding("Hello, world!")

Verify before relying

  • Whether google-genai dependency requires API credentials or authentication setup beyond standard environment variables
  • Performance characteristics and rate limits when used with Vertex AI vs. direct GenAI API
  • Compatibility guarantees with specific versions of llama-index-core

Package facts

LicenseMIT permissive
Python supportSupports the current Python release <4.0,>=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
2 packages
google-genaillama-index-core
MaintenanceActively maintained 87 days since the last release
First released
Downloads404,945 / month, #6,909 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14

Evidence: llama_index_embeddings_google_genai-0.5.1-py3-none-any.whl

Tags

Capabilities
google gemini embeddingsvertex ai embeddingsllama-index google embeddingstext embedding api wrappergemini embedding integration
Topics
embeddingsllama-index-integrationgoogle-cloud

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “google gemini embeddings”

Give your agent the search over MCP, or paste the wish link into any chat.

More Artificial Intelligence packages

litellm With conditions
PyPI · Artificial Intelligence · released Aug 2026

LiteLLM provides a unified Python interface to call 100+ LLM providers (OpenAI, Anthropic, Gemini, Bedrock, Azure, and others) using OpenAI-compatible API format, available as both a Python SDK and a self-hosted AI Gateway proxy server.

Install it if you need to work with multiple LLM providers or want to centralize LLM routing in your organization.

MITcompiled wheel
682.8Mdownloads / mo
huggingface-hub Worth it
PyPI · Artificial Intelligence · released Aug 2026

Client library and CLI tool for downloading, uploading, and managing models, datasets, and repositories on the Hugging Face Hub platform.

Install it if you work with Hugging Face Hub models or datasets.

Apache-2.0pure Python · 3.10.0+
442.4Mdownloads / mo
langchain Worth it
PyPI · Python Modules · released Aug 2026

LangChain provides a framework for building agents and LLM-powered applications by composing language models, tools, and memory through a unified API that abstracts over multiple model providers.

MITpure Python
315.4Mdownloads / mo
hf-xet With conditions
PyPI · Artificial Intelligence · released Aug 2026

hf-xet provides chunk-based deduplication and efficient file transfer for the Hugging Face Hub, enabling faster uploads and downloads of large files with local disk caching.

Apache-2.0compiled wheel · 3.8+
258.4Mdownloads / mo
tokenizers Worth it
PyPI · Artificial Intelligence · released Apr 2026

Tokenizers converts raw text into token sequences for NLP models, with support for training custom vocabularies and using pre-built tokenizers (BPE, WordPiece) optimized for speed via Rust.

Apache-2.0compiled wheel · 3.10+
222.9Mdownloads / mo
transformers Worth it
PyPI · Artificial Intelligence · released Aug 2026

Transformers provides a unified framework for loading, fine-tuning, and running state-of-the-art pretrained models across text, vision, audio, video, and multimodal tasks using PyTorch, JAX, or TensorFlow.

Install it if you need to run or train any transformer-based model for NLP, vision, audio, or multimodal tasks.

permissive licensepure Python · 3.10.0+
186.6Mdownloads / mo

See also llama-index-embeddings-ollama · llama-index-embeddings-vertex · llama-index-llms-vertex · llama-index-llms-gemini · llama-index-embeddings-openai · llama-index-embeddings-bedrock · google-genai · llama-index-llms-google-genai · llama-index-embeddings-langchain · llama-index-embeddings-huggingface