From ddec00992753986482eca4e48fe35eff83971fa6 Mon Sep 17 00:00:00 2001 From: Chris Christiansen Date: Sat, 30 May 2026 21:42:48 +0000 Subject: [PATCH] feat(rag): add data directory to rag setup --- infrastructure/07-rag-setup.sh | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/infrastructure/07-rag-setup.sh b/infrastructure/07-rag-setup.sh index 443d8be..c9f8fcc 100644 --- a/infrastructure/07-rag-setup.sh +++ b/infrastructure/07-rag-setup.sh @@ -157,7 +157,7 @@ wait_for_op() { return 1 } -for GCS_PATH in "seed/" "docs/" "sessions/" "MASTERPLAN.md"; do +for GCS_PATH in "seed/" "docs/" "sessions/" "data/" "MASTERPLAN.md"; do GCS_URI="gs://${CORPUS_BUCKET}/${GCS_PATH}" if gsutil ls "${GCS_URI}" &>/dev/null; then RESP=$(curl -s -o /tmp/import_resp.json -w "%{http_code}" -X POST \ @@ -198,3 +198,13 @@ echo "" echo "=== 07: RAG Engine setup COMPLETE ===" echo " View: https://console.cloud.google.com/vertex-ai/rag?project=${PROJECT_ID}" echo "" + ${CORPUS_NAME}" +echo " Region : ${RAG_REGION}" +echo "" +echo " ACTION REQUIRED — legg til i .env:" +echo " export RAG_CORPUS_NAME=\"${CORPUS_NAME}\"" +echo " export RAG_REGION=\"${RAG_REGION}\"" +echo "" +echo "=== 07: RAG Engine setup COMPLETE ===" +echo " View: https://console.cloud.google.com/vertex-ai/rag?project=${PROJECT_ID}" +echo ""