├── .github ├── renovate.json ├── trusted-contribution.yml └── workflows │ ├── lint.yaml │ ├── periodic-reporter.yaml │ └── stale.yml ├── .gitignore ├── CODEOWNERS ├── CONTRIBUTING.md ├── LICENSE ├── Makefile ├── README.md ├── SECURITY.md ├── app.tf ├── assets ├── rag-architecture.json ├── rag-architecture.png └── rag-architecture.svg ├── database.tf ├── examples └── simple_example │ ├── README.md │ ├── main.tf │ ├── outputs.tf │ ├── variables.tf │ └── versions.tf ├── main.tf ├── mim ├── cloudbuild_mim.yaml ├── deploy_solution.sh ├── deploy_via_trigger.sh ├── roles.txt └── tutorial.md ├── network.tf ├── outputs.tf ├── secrets.tf ├── src ├── frontend_service │ ├── Dockerfile │ ├── agent.py │ ├── app.py │ ├── app_test.py │ ├── cloudbuild.yaml │ ├── evaluation.cloudbuild.yaml │ ├── evaluation │ │ ├── __init__.py │ │ ├── eval_golden.py │ │ └── evaluation.py │ ├── int.tests.cloudbuild.yaml │ ├── langchain_tools.int.tests.cloudbuild.yaml │ ├── langgraph.int.tests.cloudbuild.yaml │ ├── orchestrator │ │ ├── __init__.py │ │ ├── langchain_tools │ │ │ ├── __init__.py │ │ │ ├── langchain_tools_orchestrator.py │ │ │ └── tools.py │ │ ├── langgraph │ │ │ ├── __init__.py │ │ │ ├── langgraph_orchestrator.py │ │ │ ├── react_graph.py │ │ │ ├── tool_node.py │ │ │ └── tools.py │ │ ├── orchestrator.py │ │ └── vertexai_function_calling │ │ │ ├── __init__.py │ │ │ ├── function_calling_orchestrator.py │ │ │ └── functions.py │ ├── pyproject.toml │ ├── requirements-test.txt │ ├── requirements.txt │ ├── run_app.py │ ├── run_evaluation.py │ ├── static │ │ ├── favicon.png │ │ ├── index.css │ │ ├── index.js │ │ ├── logo-header.png │ │ ├── logo.png │ │ └── trace.js │ ├── templates │ │ └── index.html │ └── vertexai_function_calling.int.tests.cloudbuild.yaml └── retrieval_service │ ├── Dockerfile │ ├── alloydb.tests.cloudbuild.yaml │ ├── app.tests.cloudbuild.yaml │ ├── app │ ├── __init__.py │ ├── app.py │ ├── app_test.py │ └── routes.py │ ├── cloudbuild.yaml │ ├── cloudsql-mysql.tests.cloudbuild.yaml │ ├── cloudsql-pg.tests.cloudbuild.yaml │ ├── cloudsql.tests.cloudbuild.yaml │ ├── data │ ├── airport_dataset.csv │ ├── amenity_dataset.csv │ ├── cymbalair_policy.csv │ └── flights_dataset.csv │ ├── datastore │ ├── __init__.py │ ├── datastore.py │ └── providers │ │ ├── __init__.py │ │ ├── cloudsql_postgres.py │ │ ├── cloudsql_postgres_test.py │ │ ├── firestore.py │ │ ├── firestore_test.py │ │ ├── postgres.py │ │ ├── postgres_test.py │ │ ├── test_data.py │ │ └── utils.py │ ├── example-config-alloydb.yml │ ├── example-config-cloudsql.yml │ ├── example-config-spanner.yml │ ├── example-config.yml │ ├── models │ ├── __init__.py │ └── models.py │ ├── postgres.tests.cloudbuild.yaml │ ├── pyproject.toml │ ├── requirements-test.txt │ ├── requirements.txt │ ├── run_app.py │ ├── run_database_export.py │ ├── run_database_init.py │ ├── run_generate_embeddings.py │ ├── run_generate_policy_dataset.py │ ├── spanner-gsql.tests.cloudbuild.yaml │ └── spanner-pg.tests.cloudbuild.yaml ├── test ├── .gitignore ├── integration │ ├── discover_test.go │ ├── go.mod │ ├── go.sum │ └── simple_example │ │ └── simple_example_test.go └── setup │ ├── .gitignore │ ├── iam.tf │ ├── main.tf │ ├── outputs.tf │ ├── variables.tf │ └── versions.tf ├── variables.tf └── versions.tf /.github/renovate.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/terraform-genai-rag/HEAD/.github/renovate.json -------------------------------------------------------------------------------- /.github/trusted-contribution.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/terraform-genai-rag/HEAD/.github/trusted-contribution.yml -------------------------------------------------------------------------------- /.github/workflows/lint.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/terraform-genai-rag/HEAD/.github/workflows/lint.yaml -------------------------------------------------------------------------------- /.github/workflows/periodic-reporter.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/terraform-genai-rag/HEAD/.github/workflows/periodic-reporter.yaml -------------------------------------------------------------------------------- /.github/workflows/stale.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/terraform-genai-rag/HEAD/.github/workflows/stale.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/terraform-genai-rag/HEAD/.gitignore -------------------------------------------------------------------------------- /CODEOWNERS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/terraform-genai-rag/HEAD/CODEOWNERS -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/terraform-genai-rag/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/terraform-genai-rag/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/terraform-genai-rag/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/terraform-genai-rag/HEAD/README.md -------------------------------------------------------------------------------- /SECURITY.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/terraform-genai-rag/HEAD/SECURITY.md -------------------------------------------------------------------------------- /app.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/terraform-genai-rag/HEAD/app.tf -------------------------------------------------------------------------------- /assets/rag-architecture.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/terraform-genai-rag/HEAD/assets/rag-architecture.json -------------------------------------------------------------------------------- /assets/rag-architecture.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/terraform-genai-rag/HEAD/assets/rag-architecture.png -------------------------------------------------------------------------------- /assets/rag-architecture.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/terraform-genai-rag/HEAD/assets/rag-architecture.svg -------------------------------------------------------------------------------- /database.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/terraform-genai-rag/HEAD/database.tf -------------------------------------------------------------------------------- /examples/simple_example/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/terraform-genai-rag/HEAD/examples/simple_example/README.md -------------------------------------------------------------------------------- /examples/simple_example/main.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/terraform-genai-rag/HEAD/examples/simple_example/main.tf -------------------------------------------------------------------------------- /examples/simple_example/outputs.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/terraform-genai-rag/HEAD/examples/simple_example/outputs.tf -------------------------------------------------------------------------------- /examples/simple_example/variables.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/terraform-genai-rag/HEAD/examples/simple_example/variables.tf -------------------------------------------------------------------------------- /examples/simple_example/versions.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/terraform-genai-rag/HEAD/examples/simple_example/versions.tf -------------------------------------------------------------------------------- /main.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/terraform-genai-rag/HEAD/main.tf -------------------------------------------------------------------------------- /mim/cloudbuild_mim.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/terraform-genai-rag/HEAD/mim/cloudbuild_mim.yaml -------------------------------------------------------------------------------- /mim/deploy_solution.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/terraform-genai-rag/HEAD/mim/deploy_solution.sh -------------------------------------------------------------------------------- /mim/deploy_via_trigger.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/terraform-genai-rag/HEAD/mim/deploy_via_trigger.sh -------------------------------------------------------------------------------- /mim/roles.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/terraform-genai-rag/HEAD/mim/roles.txt -------------------------------------------------------------------------------- /mim/tutorial.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/terraform-genai-rag/HEAD/mim/tutorial.md -------------------------------------------------------------------------------- /network.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/terraform-genai-rag/HEAD/network.tf -------------------------------------------------------------------------------- /outputs.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/terraform-genai-rag/HEAD/outputs.tf -------------------------------------------------------------------------------- /secrets.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/terraform-genai-rag/HEAD/secrets.tf -------------------------------------------------------------------------------- /src/frontend_service/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/terraform-genai-rag/HEAD/src/frontend_service/Dockerfile -------------------------------------------------------------------------------- /src/frontend_service/agent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/terraform-genai-rag/HEAD/src/frontend_service/agent.py -------------------------------------------------------------------------------- /src/frontend_service/app.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/terraform-genai-rag/HEAD/src/frontend_service/app.py -------------------------------------------------------------------------------- /src/frontend_service/app_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/terraform-genai-rag/HEAD/src/frontend_service/app_test.py -------------------------------------------------------------------------------- /src/frontend_service/cloudbuild.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/terraform-genai-rag/HEAD/src/frontend_service/cloudbuild.yaml -------------------------------------------------------------------------------- /src/frontend_service/evaluation.cloudbuild.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/terraform-genai-rag/HEAD/src/frontend_service/evaluation.cloudbuild.yaml -------------------------------------------------------------------------------- /src/frontend_service/evaluation/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/terraform-genai-rag/HEAD/src/frontend_service/evaluation/__init__.py -------------------------------------------------------------------------------- /src/frontend_service/evaluation/eval_golden.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/terraform-genai-rag/HEAD/src/frontend_service/evaluation/eval_golden.py -------------------------------------------------------------------------------- /src/frontend_service/evaluation/evaluation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/terraform-genai-rag/HEAD/src/frontend_service/evaluation/evaluation.py -------------------------------------------------------------------------------- /src/frontend_service/int.tests.cloudbuild.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/terraform-genai-rag/HEAD/src/frontend_service/int.tests.cloudbuild.yaml -------------------------------------------------------------------------------- /src/frontend_service/langchain_tools.int.tests.cloudbuild.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/terraform-genai-rag/HEAD/src/frontend_service/langchain_tools.int.tests.cloudbuild.yaml -------------------------------------------------------------------------------- /src/frontend_service/langgraph.int.tests.cloudbuild.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/terraform-genai-rag/HEAD/src/frontend_service/langgraph.int.tests.cloudbuild.yaml -------------------------------------------------------------------------------- /src/frontend_service/orchestrator/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/terraform-genai-rag/HEAD/src/frontend_service/orchestrator/__init__.py -------------------------------------------------------------------------------- /src/frontend_service/orchestrator/langchain_tools/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/terraform-genai-rag/HEAD/src/frontend_service/orchestrator/langchain_tools/__init__.py -------------------------------------------------------------------------------- /src/frontend_service/orchestrator/langchain_tools/langchain_tools_orchestrator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/terraform-genai-rag/HEAD/src/frontend_service/orchestrator/langchain_tools/langchain_tools_orchestrator.py -------------------------------------------------------------------------------- /src/frontend_service/orchestrator/langchain_tools/tools.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/terraform-genai-rag/HEAD/src/frontend_service/orchestrator/langchain_tools/tools.py -------------------------------------------------------------------------------- /src/frontend_service/orchestrator/langgraph/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/terraform-genai-rag/HEAD/src/frontend_service/orchestrator/langgraph/__init__.py -------------------------------------------------------------------------------- /src/frontend_service/orchestrator/langgraph/langgraph_orchestrator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/terraform-genai-rag/HEAD/src/frontend_service/orchestrator/langgraph/langgraph_orchestrator.py -------------------------------------------------------------------------------- /src/frontend_service/orchestrator/langgraph/react_graph.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/terraform-genai-rag/HEAD/src/frontend_service/orchestrator/langgraph/react_graph.py -------------------------------------------------------------------------------- /src/frontend_service/orchestrator/langgraph/tool_node.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/terraform-genai-rag/HEAD/src/frontend_service/orchestrator/langgraph/tool_node.py -------------------------------------------------------------------------------- /src/frontend_service/orchestrator/langgraph/tools.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/terraform-genai-rag/HEAD/src/frontend_service/orchestrator/langgraph/tools.py -------------------------------------------------------------------------------- /src/frontend_service/orchestrator/orchestrator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/terraform-genai-rag/HEAD/src/frontend_service/orchestrator/orchestrator.py -------------------------------------------------------------------------------- /src/frontend_service/orchestrator/vertexai_function_calling/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/terraform-genai-rag/HEAD/src/frontend_service/orchestrator/vertexai_function_calling/__init__.py -------------------------------------------------------------------------------- /src/frontend_service/orchestrator/vertexai_function_calling/function_calling_orchestrator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/terraform-genai-rag/HEAD/src/frontend_service/orchestrator/vertexai_function_calling/function_calling_orchestrator.py -------------------------------------------------------------------------------- /src/frontend_service/orchestrator/vertexai_function_calling/functions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/terraform-genai-rag/HEAD/src/frontend_service/orchestrator/vertexai_function_calling/functions.py -------------------------------------------------------------------------------- /src/frontend_service/pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/terraform-genai-rag/HEAD/src/frontend_service/pyproject.toml -------------------------------------------------------------------------------- /src/frontend_service/requirements-test.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/terraform-genai-rag/HEAD/src/frontend_service/requirements-test.txt -------------------------------------------------------------------------------- /src/frontend_service/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/terraform-genai-rag/HEAD/src/frontend_service/requirements.txt -------------------------------------------------------------------------------- /src/frontend_service/run_app.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/terraform-genai-rag/HEAD/src/frontend_service/run_app.py -------------------------------------------------------------------------------- /src/frontend_service/run_evaluation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/terraform-genai-rag/HEAD/src/frontend_service/run_evaluation.py -------------------------------------------------------------------------------- /src/frontend_service/static/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/terraform-genai-rag/HEAD/src/frontend_service/static/favicon.png -------------------------------------------------------------------------------- /src/frontend_service/static/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/terraform-genai-rag/HEAD/src/frontend_service/static/index.css -------------------------------------------------------------------------------- /src/frontend_service/static/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/terraform-genai-rag/HEAD/src/frontend_service/static/index.js -------------------------------------------------------------------------------- /src/frontend_service/static/logo-header.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/terraform-genai-rag/HEAD/src/frontend_service/static/logo-header.png -------------------------------------------------------------------------------- /src/frontend_service/static/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/terraform-genai-rag/HEAD/src/frontend_service/static/logo.png -------------------------------------------------------------------------------- /src/frontend_service/static/trace.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/terraform-genai-rag/HEAD/src/frontend_service/static/trace.js -------------------------------------------------------------------------------- /src/frontend_service/templates/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/terraform-genai-rag/HEAD/src/frontend_service/templates/index.html -------------------------------------------------------------------------------- /src/frontend_service/vertexai_function_calling.int.tests.cloudbuild.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/terraform-genai-rag/HEAD/src/frontend_service/vertexai_function_calling.int.tests.cloudbuild.yaml -------------------------------------------------------------------------------- /src/retrieval_service/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/terraform-genai-rag/HEAD/src/retrieval_service/Dockerfile -------------------------------------------------------------------------------- /src/retrieval_service/alloydb.tests.cloudbuild.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/terraform-genai-rag/HEAD/src/retrieval_service/alloydb.tests.cloudbuild.yaml -------------------------------------------------------------------------------- /src/retrieval_service/app.tests.cloudbuild.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/terraform-genai-rag/HEAD/src/retrieval_service/app.tests.cloudbuild.yaml -------------------------------------------------------------------------------- /src/retrieval_service/app/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/terraform-genai-rag/HEAD/src/retrieval_service/app/__init__.py -------------------------------------------------------------------------------- /src/retrieval_service/app/app.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/terraform-genai-rag/HEAD/src/retrieval_service/app/app.py -------------------------------------------------------------------------------- /src/retrieval_service/app/app_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/terraform-genai-rag/HEAD/src/retrieval_service/app/app_test.py -------------------------------------------------------------------------------- /src/retrieval_service/app/routes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/terraform-genai-rag/HEAD/src/retrieval_service/app/routes.py -------------------------------------------------------------------------------- /src/retrieval_service/cloudbuild.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/terraform-genai-rag/HEAD/src/retrieval_service/cloudbuild.yaml -------------------------------------------------------------------------------- /src/retrieval_service/cloudsql-mysql.tests.cloudbuild.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/terraform-genai-rag/HEAD/src/retrieval_service/cloudsql-mysql.tests.cloudbuild.yaml -------------------------------------------------------------------------------- /src/retrieval_service/cloudsql-pg.tests.cloudbuild.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/terraform-genai-rag/HEAD/src/retrieval_service/cloudsql-pg.tests.cloudbuild.yaml -------------------------------------------------------------------------------- /src/retrieval_service/cloudsql.tests.cloudbuild.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/terraform-genai-rag/HEAD/src/retrieval_service/cloudsql.tests.cloudbuild.yaml -------------------------------------------------------------------------------- /src/retrieval_service/data/airport_dataset.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/terraform-genai-rag/HEAD/src/retrieval_service/data/airport_dataset.csv -------------------------------------------------------------------------------- /src/retrieval_service/data/amenity_dataset.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/terraform-genai-rag/HEAD/src/retrieval_service/data/amenity_dataset.csv -------------------------------------------------------------------------------- /src/retrieval_service/data/cymbalair_policy.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/terraform-genai-rag/HEAD/src/retrieval_service/data/cymbalair_policy.csv -------------------------------------------------------------------------------- /src/retrieval_service/data/flights_dataset.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/terraform-genai-rag/HEAD/src/retrieval_service/data/flights_dataset.csv -------------------------------------------------------------------------------- /src/retrieval_service/datastore/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/terraform-genai-rag/HEAD/src/retrieval_service/datastore/__init__.py -------------------------------------------------------------------------------- /src/retrieval_service/datastore/datastore.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/terraform-genai-rag/HEAD/src/retrieval_service/datastore/datastore.py -------------------------------------------------------------------------------- /src/retrieval_service/datastore/providers/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/terraform-genai-rag/HEAD/src/retrieval_service/datastore/providers/__init__.py -------------------------------------------------------------------------------- /src/retrieval_service/datastore/providers/cloudsql_postgres.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/terraform-genai-rag/HEAD/src/retrieval_service/datastore/providers/cloudsql_postgres.py -------------------------------------------------------------------------------- /src/retrieval_service/datastore/providers/cloudsql_postgres_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/terraform-genai-rag/HEAD/src/retrieval_service/datastore/providers/cloudsql_postgres_test.py -------------------------------------------------------------------------------- /src/retrieval_service/datastore/providers/firestore.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/terraform-genai-rag/HEAD/src/retrieval_service/datastore/providers/firestore.py -------------------------------------------------------------------------------- /src/retrieval_service/datastore/providers/firestore_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/terraform-genai-rag/HEAD/src/retrieval_service/datastore/providers/firestore_test.py -------------------------------------------------------------------------------- /src/retrieval_service/datastore/providers/postgres.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/terraform-genai-rag/HEAD/src/retrieval_service/datastore/providers/postgres.py -------------------------------------------------------------------------------- /src/retrieval_service/datastore/providers/postgres_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/terraform-genai-rag/HEAD/src/retrieval_service/datastore/providers/postgres_test.py -------------------------------------------------------------------------------- /src/retrieval_service/datastore/providers/test_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/terraform-genai-rag/HEAD/src/retrieval_service/datastore/providers/test_data.py -------------------------------------------------------------------------------- /src/retrieval_service/datastore/providers/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/terraform-genai-rag/HEAD/src/retrieval_service/datastore/providers/utils.py -------------------------------------------------------------------------------- /src/retrieval_service/example-config-alloydb.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/terraform-genai-rag/HEAD/src/retrieval_service/example-config-alloydb.yml -------------------------------------------------------------------------------- /src/retrieval_service/example-config-cloudsql.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/terraform-genai-rag/HEAD/src/retrieval_service/example-config-cloudsql.yml -------------------------------------------------------------------------------- /src/retrieval_service/example-config-spanner.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/terraform-genai-rag/HEAD/src/retrieval_service/example-config-spanner.yml -------------------------------------------------------------------------------- /src/retrieval_service/example-config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/terraform-genai-rag/HEAD/src/retrieval_service/example-config.yml -------------------------------------------------------------------------------- /src/retrieval_service/models/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/terraform-genai-rag/HEAD/src/retrieval_service/models/__init__.py -------------------------------------------------------------------------------- /src/retrieval_service/models/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/terraform-genai-rag/HEAD/src/retrieval_service/models/models.py -------------------------------------------------------------------------------- /src/retrieval_service/postgres.tests.cloudbuild.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/terraform-genai-rag/HEAD/src/retrieval_service/postgres.tests.cloudbuild.yaml -------------------------------------------------------------------------------- /src/retrieval_service/pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/terraform-genai-rag/HEAD/src/retrieval_service/pyproject.toml -------------------------------------------------------------------------------- /src/retrieval_service/requirements-test.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/terraform-genai-rag/HEAD/src/retrieval_service/requirements-test.txt -------------------------------------------------------------------------------- /src/retrieval_service/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/terraform-genai-rag/HEAD/src/retrieval_service/requirements.txt -------------------------------------------------------------------------------- /src/retrieval_service/run_app.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/terraform-genai-rag/HEAD/src/retrieval_service/run_app.py -------------------------------------------------------------------------------- /src/retrieval_service/run_database_export.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/terraform-genai-rag/HEAD/src/retrieval_service/run_database_export.py -------------------------------------------------------------------------------- /src/retrieval_service/run_database_init.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/terraform-genai-rag/HEAD/src/retrieval_service/run_database_init.py -------------------------------------------------------------------------------- /src/retrieval_service/run_generate_embeddings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/terraform-genai-rag/HEAD/src/retrieval_service/run_generate_embeddings.py -------------------------------------------------------------------------------- /src/retrieval_service/run_generate_policy_dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/terraform-genai-rag/HEAD/src/retrieval_service/run_generate_policy_dataset.py -------------------------------------------------------------------------------- /src/retrieval_service/spanner-gsql.tests.cloudbuild.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/terraform-genai-rag/HEAD/src/retrieval_service/spanner-gsql.tests.cloudbuild.yaml -------------------------------------------------------------------------------- /src/retrieval_service/spanner-pg.tests.cloudbuild.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/terraform-genai-rag/HEAD/src/retrieval_service/spanner-pg.tests.cloudbuild.yaml -------------------------------------------------------------------------------- /test/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/terraform-genai-rag/HEAD/test/.gitignore -------------------------------------------------------------------------------- /test/integration/discover_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/terraform-genai-rag/HEAD/test/integration/discover_test.go -------------------------------------------------------------------------------- /test/integration/go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/terraform-genai-rag/HEAD/test/integration/go.mod -------------------------------------------------------------------------------- /test/integration/go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/terraform-genai-rag/HEAD/test/integration/go.sum -------------------------------------------------------------------------------- /test/integration/simple_example/simple_example_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/terraform-genai-rag/HEAD/test/integration/simple_example/simple_example_test.go -------------------------------------------------------------------------------- /test/setup/.gitignore: -------------------------------------------------------------------------------- 1 | terraform.tfvars 2 | source.sh 3 | -------------------------------------------------------------------------------- /test/setup/iam.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/terraform-genai-rag/HEAD/test/setup/iam.tf -------------------------------------------------------------------------------- /test/setup/main.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/terraform-genai-rag/HEAD/test/setup/main.tf -------------------------------------------------------------------------------- /test/setup/outputs.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/terraform-genai-rag/HEAD/test/setup/outputs.tf -------------------------------------------------------------------------------- /test/setup/variables.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/terraform-genai-rag/HEAD/test/setup/variables.tf -------------------------------------------------------------------------------- /test/setup/versions.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/terraform-genai-rag/HEAD/test/setup/versions.tf -------------------------------------------------------------------------------- /variables.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/terraform-genai-rag/HEAD/variables.tf -------------------------------------------------------------------------------- /versions.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/terraform-genai-rag/HEAD/versions.tf --------------------------------------------------------------------------------