Retrieval-augmented generation on Google Cloud

SVG
Retrieval-augmented generation on Google Cloud. 9 components in 3 groups. Connections: Users to Cloud Run (HTTPS); Cloud Run to Cloud Run (question); Cloud Run to Embeddings API (embed question); Cloud Run to AlloyDB for PostgreSQL (vector search); Cloud Run to Gemini (prompt and context); Cloud Storage to Pub/Sub (object finalized); Pub/Sub to Cloud Run job (trigger); Cloud Run job to Embeddings API (chunks); Cloud Run job to AlloyDB for PostgreSQL (write embeddings).
drag to pan, scroll or pinch to zoom