Generative AI code samples and sample applications
Sample applications
Deploy a prebuilt generative AI sample application, then fork the code to modify it for your own use-case.
Generate a marketing campaign with Gemini
Build a web app to generate marketing campaign ideas, using Gemini on Vertex AI, Cloud Run, and Streamlit .
Beginner Python
Airport Assistant: RAG App
Sample app for retrieval-augmented generation with AlloyDB for PostgreSQL and Vertex AI. ( blog post , codelab ).
Intermediate Python
GenWealth: RAG app
Learn to build a Node-based RAG app that provides investment recommendations for financial advisors. This sample integrates with Vertex AI, Cloud Run, AlloyDB, and Cloud Run functions. Built with Angular, TypeScript, Express.js, and LangChain.
Intermediate Node
Fix My Car: RAG app
Learn to build a RAG app that helps car owners troubleshoot their vehicle, without having to flip through their owner's manual. Variants include Cloud SQL with pgvector, and Agent Search. Built with Java (Spring) and Python (Streamlit).
Intermediate Java
Deploy Llama models on Cloud Run
Learn how to deploy and run Meta's Llama models on Cloud Run.
Beginner Python

