ai.embeddings_gemini · version 1 · AI sub-node
Text embeddings from the Google Generative Language API.
Port Kind Label Required Max connections
output 0 ai_embedding
Slot Accepted kinds Required
googlePalmApigoogle_gemini/api_keyyes
Name Type Default Required Shown when Description
modelNamestring "models/gemini-embedding-001"Model . Identifier of the model to call, as listed by the provider. Values from lookup gemini.models.
optionscollection {}Optional settings.
options.dimensionsnumber Shorten vectors to this many dimensions when the model supports it.
options.batchSizenumber 512Batch Size . How many texts to send per request.
options.stripNewLinesboolean trueStrip New Lines . Replace line breaks with spaces before embedding.
options.baseURLstring Base URL . Send requests to this API root instead of the provider default.
options.timeoutnumber 600000Timeout (ms) . Give up on a single request after this many milliseconds.
options.maxRetriesnumber 2Max Retries . How many times to retry after rate limiting or a server error.
Exported workflows that use these node types import to this node. Unverified ranges import with a parameter warning until parity fixtures confirm them; see Migrating .
Source type Version range Status Fixtures
@n8n/n8n-nodes-langchain.embeddingsGoogleGemini1unverified