Skip to content

Configure separate region for RAG engine#1409

Open
pemujo wants to merge 3 commits intogoogle:mainfrom
pemujo:rag-agent-update
Open

Configure separate region for RAG engine#1409
pemujo wants to merge 3 commits intogoogle:mainfrom
pemujo:rag-agent-update

Conversation

@pemujo
Copy link
Copy Markdown

@pemujo pemujo commented Apr 3, 2026

This PR enhances the RAG Agent setup flow by improving region flexibility for RAG engine and streamlining the IAM permission model.

Changes:

  • GCP Region Decoupling: Changed the default region for the RAG Engine from us-central1 to us-west1 to avoid common allowlist restrictions.

    • Introduced an interactive prompt in the Makefile to allow users to specify their preferred region.

    • Decoupled the RAG Engine location from the Agent Engine location to allow for cross-region architectures.

  • Simplified IAM Permissions: Removed the automated creation of the custom ragCorpusQueryRole.

    • Migrated to using the pre-defined roles/aiplatform.viewer role, which contains the necessary aiplatform.ragCorpora.query permissions out of the box.
  • Improved Setup UX: Updated the setup_corpus target with more descriptive headers and a default-to-Yes [Y/n] logic for sample data deployment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants