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.
Jump Start Solution: Document Summarization
Deploy a one-click sample application to summarize long documents with Vertex AI.
Beginner Python
Jump Start Solution: Generative AI RAG with Cloud SQL
Deploy a one-click sample application that uses vector embeddings stored in Cloud SQL to improve the accuracy of responses from a chat application.
Beginner Python
Jump Start Solution: Generative AI Knowledge Base
Deploy a one-click sample application that extracts question-and-answer pairs from a set of documents, along with a pipeline that triggers the application when a document is uploaded.
Beginner Python
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 Vertex AI Search. Built with Java (Spring) and Python (Streamlit).
Intermediate Java

