Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Google Vertex AI Chat Model node missing GCP region and zone configuration options #11026

Open
a-d-r-i-a-n-d opened this issue Sep 30, 2024 · 3 comments
Labels
in linear Issue or PR has been created in Linear for internal review

Comments

@a-d-r-i-a-n-d
Copy link

Bug Description

The Google Vertex AI Chat Model node in n8n does not currently provide an option to configure the GCP region and zone for the API calls. This results in the default region being set to us-east, which in my case has a quota of 0, causing an error when trying to use the node. I have already attempted to set the default region and zone within the Google Cloud Console for my GCP project, but this did not resolve the issue.

The absence of a region and zone configuration option within the n8n node presents problems, such as running into quota limitations and potential GDPR concerns when using non-EU zones. This feature is crucial for users who need to specify a region that meets legal requirements or to access available resources in other zones.

A workaround to manually set the GCP region/zone via the node is currently unknown, and guidance would be appreciated in the meantime.

To Reproduce

  1. Set up Google Vertex AI Chat Model node:
    • Go to n8n and create a new workflow.
    • Add the Google Vertex AI Chat Model node.
    • Authenticate using your GCP credentials.
  2. Attempt to use the node:
    • Use a default prompt to trigger the chat model.
    • Ensure that your GCP project’s default region and zone are not set to us-east or that your us-east zone has a quota of 0 (to reproduce the error).
  3. Run the workflow:
    • Run the workflow with the node using the Vertex AI Chat Model.
    • Actual result: You receive an error due to the default region being set to us-east with a quota of 0, even if the default region/zone is configured in the Google Cloud Console.

Expected behavior

• The Google Vertex AI Chat Model node should include options to set the GCP region and zone, allowing users to choose the appropriate location for their resources.
• Users should be able to configure the region and zone directly from the node configuration to avoid quota issues and comply with legal regulations (such as GDPR).
• The node should properly use the specified region/zone when making API calls.

Operating System

docker

n8n Version

1.59.4

Node.js Version

v20.17.0

Database

PostgreSQL

Execution mode

main (default)

@Joffcom
Copy link
Member

Joffcom commented Sep 30, 2024

Hey @a-d-r-i-a-n-d,

We have created an internal ticket to look into this which we will be tracking as "GHC-269"

@Joffcom Joffcom added the in linear Issue or PR has been created in Linear for internal review label Sep 30, 2024
@Joffcom
Copy link
Member

Joffcom commented Sep 30, 2024

Hey @a-d-r-i-a-n-d

Just to check as to me this seems like a feature request as it is adding something new and not fixing a issue.

Do you see this as a bug or also a feature request? This will help with prioritising this.

@a-d-r-i-a-n-d
Copy link
Author

Hey @Joffcom,

Thanks for looking into this. That's a good point. To be fair is closer to a feature request than a bug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in linear Issue or PR has been created in Linear for internal review
Projects
None yet
Development

No branches or pull requests

2 participants