From 60c7aff04dd3207929fb1df2d902718cb20a5a6b Mon Sep 17 00:00:00 2001 From: chrischristiansen-glitch Date: Sun, 24 May 2026 16:15:32 +0200 Subject: [PATCH] =?UTF-8?q?fix:=20remove=20backend=5Fconfig=20=E2=80=94=20?= =?UTF-8?q?Serverless=20is=20default=20in=20us-central1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- agents/rag/setup_corpus.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/agents/rag/setup_corpus.py b/agents/rag/setup_corpus.py index 29386fa..fb94419 100644 --- a/agents/rag/setup_corpus.py +++ b/agents/rag/setup_corpus.py @@ -3,7 +3,7 @@ setup_corpus.py — Create a Vertex AI RAG Engine corpus and import documents. Project: propane-will-491900-m5 -Serverless mode (RagManagedDb) — no allowlist required. +Serverless mode is the default when no backend_config is specified. Region: us-central1 """ @@ -31,11 +31,9 @@ def main(): break else: print(f"Creating RAG corpus '{CORPUS_DISPLAY_NAME}' in {LOCATION} (Serverless)...") + # No backend_config = Serverless mode (default) corpus = rag.create_corpus( display_name=CORPUS_DISPLAY_NAME, - backend_config=rag.RagVectorDbConfig( - rag_managed_db=rag.RagManagedDb() # Serverless — no Spanner - ), ) print(f"Corpus created: {corpus.name}")