Skip to content
masterclass Buddy

Integrations · Class

GoogleGenerativeAIEmbeddings

GoogleGenerativeAIEmbeddings converts text into vectors with Gemini embedding models. It supports the Gemini Developer API and Vertex AI backends.

Last updated

Since
2.0

Syntax

GoogleGenerativeAIEmbeddings(model: str, task_type: str | None = None, project: str | None = None, vertexai: bool | None = None, google_api_key: str | None = None)

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • Embeddings
  • embed_query
  • embed_documents
  • aembed_query
  • aembed_documents
  • Google GenAI SDK
  • VertexAIEmbeddings

Source: GoogleGenerativeAIEmbeddings | langchain_google_genai | LangChain Reference. Checked 2026-11-03.