terraform-genai-retrieval-augmented-generation
A Terraform module that deploys a generative-AI retrieval-augmented-generation solution on Google Cloud, provisioning a choice of Cloud SQL MySQL, Cloud SQL PostgreSQL, AlloyDB or Cloud Spanner as the database and prebuilt frontend and retrieval service containers.
This Terraform module deploys a generative AI retrieval-augmented-generation solution on Google Cloud Platform. Configurable inputs include the database engine, which can be Cloud SQL MySQL, Cloud SQL PostgreSQL, AlloyDB or Cloud Spanner and defaults to PostgreSQL, whether Cloud SQL resources are protected from deletion, whether the module enables the underlying Google Cloud APIs itself, the Artifact Registry container images used for the frontend and retrieval services, resource labels applied to the created resources, and the target project and region, and it outputs the URL of the deployed web frontend.