For the complete documentation index, see llms.txt. This page is also available as Markdown.

Embeddings Google Vertex

Use the Embeddings Google Vertex node to generate embeddings for a given text.

On this page, you'll find the node parameters for the Embeddings Google Vertex node, and links to more resources.

Credentials

Use Google Vertex AI credentials to store the project and region with your service account details. This node also supports Google Service Account credentials.

Parameter resolution in sub-nodes

Sub-nodes behave differently to other nodes when processing multiple items using an expression.

Most nodes, including root nodes, take any number of items as input, process these items, and output the results. You can use expressions to refer to input items, and the node resolves the expression for each item in turn. For example, given an input of five name values, the expression {{ $json.name }} resolves to each name in turn.

In sub-nodes, the expression always resolves to the first item. For example, given an input of five name values, the expression {{ $json.name }} always resolves to the first name.

Node parameters

  • Authentication: Select Google Service Account (the default) or Google Vertex AI.

  • Project ID: For Google Service Account authentication, n8n loads the project list using the service account's access. Select a listed project, or enter the project ID manually. For Google Vertex AI authentication, configure the project in the credential.

  • Model Name: Enter the model name to use to generate the embedding.

  • Region: Select Default (Use Credential Region) to use the region set in the credential. To override it, select Global, EU (Multi-Region), or US (Multi-Region).

Learn more about available embedding models in Google VertexAI embeddings API documentation.

Templates and examples

Browse Embeddings Google Vertex node documentation integration templates or search all templates

Refer to LangChain's Google Generative AI embeddings documentation for more information about the service.

View n8n's Advanced AI documentation.

Last updated

Was this helpful?