A collection of guides and examples for Generative AI on Vertex AI.
Explore more in the Generative AI Repository on GitHub.
Gemini Quickstarts
Intro to Gemini 2.5 Flash
Get started with Gemini 2.5 Flash in Vertex AI with the Gen AI Python SDK.
Intro to Gemini 2.5 Pro
Get started with Gemini 2.5 Pro in Vertex AI with the Gen AI Python SDK.
Intro to Gemini 2.5 Flash-Lite
Get started with Gemini 2.5 Flash-Lite in Vertex AI with the Gen AI Python SDK.
Get Started with the Multimodal Live API
Get started with Gemini 2.0 Multimodal Live API in Vertex AI using the Gen AI Python SDK
Gemini 2.0 Flash Image Generation in Vertex AI
Get started with Gemini Image Generation in Vertex AI.
Intro to Prompt Engineering
Learn the essentials and best practices of prompt engineering.
Function Calling with Gemini
Connect Gemini to external tools using function calling.
Grounding with Gemini
Connect Gemini to real-world data from Google Search or Vertex AI Search to improve response quality.
Batch Prediction with Gemini
Use Batch Prediction to run inference on a large number of examples.
Long Context Window
Use the Long Context Window to process large amounts of multimodal data.
Intro to Context Caching
Use context caching to store frequently used data.
Intro to Structured Output with the Gemini API
Learn to control Gemini API output formats for easier data processing.
Call Gemini by using the OpenAI Library
Learn how to call Gemini using Chat Completions.
Featured Tutorials
Creating Marketing Assets using Gemini 2.0 Flash
Learn how to combine the multimodal capabilities of Gemini and Grounding with Google Search to create a marketing campaign brief and marketing assets.
Get started with Chirp 3 HD Voices for Text-to-Speech
Learn about how to use Chirp 3 HD Voices, the latest generation of Google Text-to-Speech voices.
Get started with Chirp 2 for Speech-to-Text
Learn about how to use Chirp 2, the latest generation of Google's multilingual Automatic Speech Recognition models.
Intro to Imagen 4 Image Generation
Use Imagen 4 to create photorealistic images.
Imagen 3 Image Editing
Use Imagen 3 to edit photorealistic images using inpainting, outpainting, and Product Image Editing.
Get Started with Text Embeddings + Vertex AI Vector Search
Use AI's multitool, Embeddings, and Vertex AI Vector Search perform semantic matching.
Intro to LangGraph with Gemini
Learn how to combine LangGraph's workflow capabilities with Gemini's language understanding and generation skills to streamline and automate complex financial analysis tasks.
Create custom podcast episodes
Use Gemini, LangGraph, and Text-to-Speech to create custom podcast episodes.
Storytelling with Gemini and Text-to-Speech
Use Gemini and Text-to-Speech to create and read a story with multiple characters.
Analyze a codebase
Use Gemini to generate code, summarize a codebase, debug, improve code, and assess code.
LLM Security for developers
Learn about prompt injection attacks and how to mitigate them.
Intro to Agent Engine
Learn how to build and deploy an agent (model, tools, and reasoning) using Agent Engine.
Intro to Gen AI Evaluation Service
Evaluate Gemini responses using metrics and custom datasets.
Gemini Supervised Fine-tuning for Article Summarization
Learn how to fine-tune Gemini for article summarization.
Intro to Vertex AI RAG Engine
Build custom RAG workflows with Gemini and Vertex AI RAG Engine.
Document Processing with Gemini
Use Gemini to process documents for classification, extraction, and summarization.
Patents Document Understanding with Gemini
Use Gemini to process patent documents using classification, entity extraction, and object detection.
Build and deploy a Hugging Face smolagent using DeepSeek on Vertex AI
This notebook showcases how to deploy DeepSeek R1 Distill Qwen 32B from Hugging Face Hub on Vertex AI.
Multimodal Sentiment Analysis with Gemini
This notebook demonstrates multimodal sentiment analysis with Gemini by comparing sentiment analysis performed directly on audio with analysis performed on its text transcript.
Productivity Coaching with Gemini and Google Calendar
This notebook demonstrates how to use Gemini as your personal productivity coach, by connecting it to Google Workspace APIs.
Veo 3 Video Generation
In this tutorial, you will learn how to use the Google Gen AI SDK for Python to interact with Veo 3 and generate new videos from text prompts.
All Tutorials
| 
            
  
    
      Function calling
    
  
           
            
  
    
      Gemini
    
  
           
            
  
    
      Grounding
    
  
           
            
  
    
      Multimodal
    
  
           
            
  
    
      Prompting
    
  
           
            
  
    
      Thinking
    
  
           | Intro to Gemini 2.5 Flash Get started with Gemini 2.5 Flash in Vertex AI with the Gen AI Python SDK. | View on GitHub | 
| 
            
  
    
      Function calling
    
  
           
            
  
    
      Gemini
    
  
           
            
  
    
      Grounding
    
  
           
            
  
    
      Multimodal
    
  
           
            
  
    
      Prompting
    
  
           
            
  
    
      Thinking
    
  
           | Intro to Gemini 2.5 Pro Get started with Gemini 2.5 Pro in Vertex AI with the Gen AI Python SDK. | View on GitHub | 
| 
            
  
    
      Function calling
    
  
           
            
  
    
      Gemini
    
  
           
            
  
    
      Grounding
    
  
           
            
  
    
      Multimodal
    
  
           
            
  
    
      Prompting
    
  
           
            
  
    
      Thinking
    
  
           | Intro to Gemini 2.5 Flash-Lite Get started with Gemini 2.5 Flash-Lite in Vertex AI with the Gen AI Python SDK. | View on GitHub | 
| 
            
  
    
      Gemini
    
  
           
            
  
    
      Live api
    
  
           
            
  
    
      Multimodal
    
  
           | Get Started with the Multimodal Live API Get started with Gemini 2.0 Multimodal Live API in Vertex AI using the Gen AI Python SDK | View on GitHub | 
| 
            
  
    
      Gemini
    
  
           
            
  
    
      Image generation
    
  
           
            
  
    
      Multimodal
    
  
           | Gemini 2.0 Flash Image Generation in Vertex AI Get started with Gemini Image Generation in Vertex AI. | View on GitHub | 
| 
            
  
    
      Gemini
    
  
           
            
  
    
      Prompting
    
  
           | Intro to Prompt Engineering Learn the essentials and best practices of prompt engineering. | View on GitHub | 
| 
            
  
    
      Function calling
    
  
           
            
  
    
      Gemini
    
  
           | Function Calling with Gemini Connect Gemini to external tools using function calling. | View on GitHub | 
| 
            
  
    
      Gemini
    
  
           
            
  
    
      Grounding
    
  
           
            
  
    
      Rag
    
  
           
            
  
    
      Search
    
  
           | Grounding with Gemini Connect Gemini to real-world data from Google Search or Vertex AI Search to improve response quality. | View on GitHub | 
| 
            
  
    
      Batch prediction
    
  
           
            
  
    
      Gemini
    
  
           | Batch Prediction with Gemini Use Batch Prediction to run inference on a large number of examples. | View on GitHub | 
| 
            
  
    
      Gemini
    
  
           | Long Context Window Use the Long Context Window to process large amounts of multimodal data. | View on GitHub | 
| 
            
  
    
      Gemini
    
  
           | Intro to Context Caching Use context caching to store frequently used data. | View on GitHub | 
| 
            
  
    
      Gemini
    
  
           | Intro to Structured Output with the Gemini API Learn to control Gemini API output formats for easier data processing. | View on GitHub | 
| 
            
  
    
      Gemini
    
  
           | Call Gemini by using the OpenAI Library Learn how to call Gemini using Chat Completions. | View on GitHub | 
| 
            
  
    
      Gemini
    
  
           
            
  
    
      Grounding
    
  
           
            
  
    
      Search
    
  
           | Creating Marketing Assets using Gemini 2.0 Flash Learn how to combine the multimodal capabilities of Gemini and Grounding with Google Search to create a marketing campaign brief and marketing assets. | View on GitHub | 
| 
            
  
    
      Chirp
    
  
           
            
  
    
      Speech
    
  
           | Get started with Chirp 3 HD Voices for Text-to-Speech Learn about how to use Chirp 3 HD Voices, the latest generation of Google Text-to-Speech voices. | View on GitHub | 
| 
            
  
    
      Chirp
    
  
           
            
  
    
      Speech
    
  
           | Get started with Chirp 2 for Speech-to-Text Learn about how to use Chirp 2, the latest generation of Google's multilingual Automatic Speech Recognition models. | View on GitHub | 
| 
            
  
    
      Imagen
    
  
           
            
  
    
      Multimodal
    
  
           | Intro to Imagen 4 Image Generation Use Imagen 4 to create photorealistic images. | View on GitHub | 
| 
            
  
    
      Imagen
    
  
           
            
  
    
      Multimodal
    
  
           | Imagen 3 Image Editing Use Imagen 3 to edit photorealistic images using inpainting, outpainting, and Product Image Editing. | View on GitHub | 
| 
            
  
    
      Embeddings
    
  
           
            
  
    
      Vector search
    
  
           | Get Started with Text Embeddings + Vertex AI Vector Search Use AI's multitool, Embeddings, and Vertex AI Vector Search perform semantic matching. | View on GitHub | 
| 
            
  
    
      Gemini
    
  
           
            
  
    
      Langchain
    
  
           
            
  
    
      Langgraph
    
  
           
            
  
    
      Orchestration
    
  
           | Intro to LangGraph with Gemini Learn how to combine LangGraph's workflow capabilities with Gemini's language understanding and generation skills to streamline and automate complex financial analysis tasks. | View on GitHub | 
| 
            
  
    
      Gemini
    
  
           
            
  
    
      Langchain
    
  
           
            
  
    
      Langgraph
    
  
           
            
  
    
      Orchestration
    
  
           
            
  
    
      Speech
    
  
           | Create custom podcast episodes Use Gemini, LangGraph, and Text-to-Speech to create custom podcast episodes. | View on GitHub | 
| 
            
  
    
      Gemini
    
  
           
            
  
    
      Speech
    
  
           | Storytelling with Gemini and Text-to-Speech Use Gemini and Text-to-Speech to create and read a story with multiple characters. | View on GitHub | 
| 
            
  
    
      Gemini
    
  
           
            
  
    
      Multimodal
    
  
           | Analyze a codebase Use Gemini to generate code, summarize a codebase, debug, improve code, and assess code. | View on GitHub | 
| 
            
  
    
      Gemini
    
  
           
            
  
    
      Prompting
    
  
           
            
  
    
      Security
    
  
           | LLM Security for developers Learn about prompt injection attacks and how to mitigate them. | View on GitHub | 
| 
            
  
    
      Agent engine
    
  
           
            
  
    
      Agents
    
  
           
            
  
    
      Gemini
    
  
           | Intro to Agent Engine Learn how to build and deploy an agent (model, tools, and reasoning) using Agent Engine. | View on GitHub | 
| 
            
  
    
      Evaluation
    
  
           
            
  
    
      Gemini
    
  
           | Intro to Gen AI Evaluation Service Evaluate Gemini responses using metrics and custom datasets. | View on GitHub | 
| 
            
  
    
      Gemini
    
  
           
            
  
    
      Tuning
    
  
           | Gemini Supervised Fine-tuning for Article Summarization Learn how to fine-tune Gemini for article summarization. | View on GitHub | 
| 
            
  
    
      Gemini
    
  
           
            
  
    
      Rag
    
  
           | Intro to Vertex AI RAG Engine Build custom RAG workflows with Gemini and Vertex AI RAG Engine. | View on GitHub | 
| 
            
  
    
      Gemini
    
  
           
            
  
    
      Multimodal
    
  
           | Document Processing with Gemini Use Gemini to process documents for classification, extraction, and summarization. | View on GitHub | 
| 
            
  
    
      Gemini
    
  
           
            
  
    
      Multimodal
    
  
           | Patents Document Understanding with Gemini Use Gemini to process patent documents using classification, entity extraction, and object detection. | View on GitHub | 
| 
            
  
    
      Agents
    
  
           | Build and deploy a Hugging Face smolagent using DeepSeek on Vertex AI This notebook showcases how to deploy DeepSeek R1 Distill Qwen 32B from Hugging Face Hub on Vertex AI. | View on GitHub | 
| 
            
  
    
      Gemini
    
  
           
            
  
    
      Multimodal
    
  
           | Multimodal Sentiment Analysis with Gemini This notebook demonstrates multimodal sentiment analysis with Gemini by comparing sentiment analysis performed directly on audio with analysis performed on its text transcript. | View on GitHub | 
| 
            
  
    
      Function calling
    
  
           
            
  
    
      Gemini
    
  
           
            
  
    
      Workspace
    
  
           | Productivity Coaching with Gemini and Google Calendar This notebook demonstrates how to use Gemini as your personal productivity coach, by connecting it to Google Workspace APIs. | View on GitHub | 
| 
            
  
    
      Multimodal
    
  
           
            
  
    
      Veo
    
  
           | Veo 3 Video Generation In this tutorial, you will learn how to use the Google Gen AI SDK for Python to interact with Veo 3 and generate new videos from text prompts. | View on GitHub | 
| 
            
  
    
      Embeddings
    
  
           
            
  
    
      Gemini
    
  
           
            
  
    
      Multimodal
    
  
           | Intro to the Google Gen AI SDK Intro to the Google Gen AI SDK. | View on GitHub | 
| 
            
  
    
      Gemini
    
  
           
            
  
    
      Multimodal
    
  
           
            
  
    
      Prompting
    
  
           | Gemini: An Overview of Multimodal Use Cases How to prompt Gemini with multimodal data (text, documents, images, video, and audio). | View on GitHub | 
| 
            
  
    
      Gemini
    
  
           | Introduction to Gemini with REST API/cURL | View on GitHub | 
| 
            
  
    
      Evaluation
    
  
           
            
  
    
      Gemini
    
  
           
            
  
    
      Prompting
    
  
           | Prompt Engineering, Evaluation, and Prompt Templating Use Gen AI Evaluation Service SDK for prompt engineering and evaluation. | View on GitHub | 
| 
            
  
    
      Embeddings
    
  
           
            
  
    
      Multimodal
    
  
           | Intro to Multimodal Embeddings Learn about multimodal embeddings. | View on GitHub | 
| 
            
  
    
      Embeddings
    
  
           
            
  
    
      Tuning
    
  
           | Intro to Embeddings Tuning Learn how to tune embeddings models. | View on GitHub | 
| 
            
  
    
      Embeddings
    
  
           
            
  
    
      Vector search
    
  
           | Task Type Embeddings Learn how to get better embeddings for your specific task. | View on GitHub | 
| 
            
  
    
      Embeddings
    
  
           
            
  
    
      Vector search
    
  
           | Hybrid Search with Vertex AI Vector Search Learn how to use hybrid search with Vertex AI Vector Search combining semantic & keyword search. | View on GitHub | 
| 
            
  
    
      Agents
    
  
           
            
  
    
      Gemini
    
  
           
            
  
    
      Langchain
    
  
           
            
  
    
      Langgraph
    
  
           | AI Agents for Engineers (Evolution of AI Agents) This notebook demonstrates 3 different approaches to generating essays using the Gemini API, Zero-Shot, Step-by-Step with LangChain, and Iterative with LangGraph. | View on GitHub | 
| 
            
  
    
      Gemma
    
  
           
            
  
    
      Hugging face
    
  
           | Hugging Face DLCs: Serving Gemma with Text Generation Inference (TGI) on Vertex AI Learn how to deploy Google Gemma from the Hugging Face Hub on Vertex AI using the Hugging Face Deep Learning Container (DLC) for Text Generation Inference (TGI). | View on GitHub | 
| 
            
  
    
      Gemma
    
  
           
            
  
    
      Langgraph
    
  
           
            
  
    
      Rag
    
  
           | Running a Gemma 2-based agentic RAG with Ollama on Vertex AI and LangGraph This notebook showcases how to run a Gemma 2-based Agent with Ollama on Vertex AI and LangGraph. | View on GitHub | 
| 
            
  
    
      Gemma
    
  
           
            
  
    
      Hugging face
    
  
           | Hugging Face DLCs: Serving PaliGemma using Pytorch Inference on Vertex AI with Custom Handler Learn how to deploy Google PaliGemma from the Hugging Face Hub on Vertex AI using the Hugging Face Deep Learning Container (DLC) for Pytorch Inference in combination with a custom handler. | View on GitHub | 
| 
            
  
    
      Gemma
    
  
           
            
  
    
      Hugging face
    
  
           
            
  
    
      Tuning
    
  
           | Hugging Face DLCs: Fine-tuning Gemma with Transformer Reinforcement Learning (TRL) on Vertex AI Learn how to fine-tune Gemma with Transformer Reinforcement Learning (TRL) on Vertex AI. | View on GitHub | 
| 
            
  
    
      Hugging face
    
  
           | Guess who or what app using Hugging Face Deep Learning container model on Vertex AI Create a"Guess who or what" application using Vertex AI, Hugging Face Deep Learning container, an image generation open model, and Gemini to solve and visualize riddles. | View on GitHub | 
| 
            
  
    
      Embeddings
    
  
           | Visualizing embedding similarity from text documents using t-SNE plots Visualize embedding similarity from text documents using t-SNE plots. | View on GitHub | 
| 
            
  
    
      Embeddings
    
  
           
            
  
    
      Vector search
    
  
           | Vertex AI Vector Search Quickstart Learn how to use Vertex AI Vector Search to find similar text documents. | View on GitHub | 
| 
            
  
    
      Embeddings
    
  
           
            
  
    
      Gemini
    
  
           
            
  
    
      Vector search
    
  
           | Anomaly Detection of Infrastructure Logs using Gemini and BigQuery Vector Search Learn how to large volumes of infrastructure logs using Gemini, vector embeddings and BigQuery Vector Search to perform anomaly detection. | View on GitHub | 
| 
            
  
    
      Embeddings
    
  
           
            
  
    
      Gemini
    
  
           | Log Anomaly Detection & Investigation with Text Embeddings + BigQuery Vector Search Learn how to large volumes of audit logs using Gemini, vector embeddings and BigQuery Vector Search to perform anomaly detection. | View on GitHub | 
| 
            
  
    
      Function calling
    
  
           
            
  
    
      Gemini
    
  
           | Working with Data Structures and Schemas in Gemini Function Calling Learn how to use Gemini Function Calling with data structures and schemas. | View on GitHub | 
| 
            
  
    
      Function calling
    
  
           
            
  
    
      Gemini
    
  
           | Working with Parallel Function Calls and Multiple Function Responses in Gemini Learn how to use parallel function calls and multiple function responses in Gemini. | View on GitHub | 
| 
            
  
    
      Function calling
    
  
           
            
  
    
      Gemini
    
  
           
            
  
    
      Prompting
    
  
           | Introduction to ReAct Agents with Gemini & Function Calling Learn how to use ReAct Agents with Gemini and Function Calling. | View on GitHub | 
| 
            
  
    
      Function calling
    
  
           
            
  
    
      Gemini
    
  
           | Forced Function Calling with Tool Configurations in Gemini Learn how to use forced function calling with tool configurations in Gemini. | View on GitHub | 
| 
            
  
    
      Function calling
    
  
           
            
  
    
      Gemini
    
  
           | Using Gemini Function Calling to Get Real-Time Company News and Insights Learn how to use Gemini Function Calling to get real-time company news and insights. | View on GitHub | 
| 
            
  
    
      Function calling
    
  
           
            
  
    
      Gemini
    
  
           
            
  
    
      Multimodal
    
  
           | Multimodal Function Calling with the Gemini API & Python SDK Learn how to use Gemini Multimodal Function Calling. | View on GitHub | 
| 
            
  
    
      Gemini
    
  
           
            
  
    
      Rag
    
  
           
            
  
    
      Rag engine
    
  
           | Advanced RAG Techniques - Vertex RAG Engine Retrieval Quality Evaluation and Hyperparameters Tuning Learn about advanced RAG techniques with evaluation and hyperparameter tuning. | View on GitHub | 
| 
            
  
    
      Gemini
    
  
           
            
  
    
      Rag
    
  
           
            
  
    
      Rag engine
    
  
           | Vertex AI RAG Engine with Pinecone Learn how to use Pinecone with Vertex AI RAG Engine. | View on GitHub | 
| 
            
  
    
      Gemini
    
  
           
            
  
    
      Rag
    
  
           
            
  
    
      Rag engine
    
  
           | Vertex AI RAG Engine with Weaviate Learn how to use Weaviate with Vertex AI RAG Engine. | View on GitHub | 
| 
            
  
    
      Gemini
    
  
           
            
  
    
      Rag
    
  
           
            
  
    
      Rag engine
    
  
           | Vertex AI RAG Engine with Vertex AI Feature Store Learn how to use Vertex AI Feature Store with Vertex AI RAG Engine. | View on GitHub | 
| 
            
  
    
      Gemini
    
  
           
            
  
    
      Rag
    
  
           
            
  
    
      Rag engine
    
  
           | Vertex AI RAG Engine with Vertex AI Vector Search Learn how to use Vertex AI Vector Search with Vertex AI RAG Engine. | View on GitHub | 
| 
            
  
    
      Gemini
    
  
           
            
  
    
      Rag
    
  
           
            
  
    
      Rag engine
    
  
           | Vertex AI RAG Engine with Vertex AI Search Learn how to use Vertex AI Search with Vertex AI RAG Engine. | View on GitHub | 
| 
            
  
    
      Agent engine
    
  
           
            
  
    
      Agents
    
  
           
            
  
    
      Gemini
    
  
           | Debugging and Optimizing Agents: A Guide to Tracing in Agent Engine Learn how to use Tracing in Agent Engine. | View on GitHub | 
| 
            
  
    
      Agent engine
    
  
           
            
  
    
      Gemini
    
  
           
            
  
    
      Langchain
    
  
           | Deploying a RAG Application with AlloyDB to Agent Engine | View on GitHub | 
| 
            
  
    
      Agent engine
    
  
           
            
  
    
      Agents
    
  
           
            
  
    
      Gemini
    
  
           
            
  
    
      Rag
    
  
           
            
  
    
      Search
    
  
           | Building a Conversational Search Agent with Agent Engine and RAG on Vertex AI Search | View on GitHub | 
| 
            
  
    
      Agent engine
    
  
           
            
  
    
      Agents
    
  
           
            
  
    
      Gemini
    
  
           
            
  
    
      Langgraph
    
  
           
            
  
    
      Rag
    
  
           | Building a Multi-Agent RAG Application with LangGraph and Agent Engine | View on GitHub | 
| 
            
  
    
      Agent engine
    
  
           
            
  
    
      Gemini
    
  
           
            
  
    
      Langgraph
    
  
           
            
  
    
      Rag
    
  
           | Deploying a RAG Application with Cloud SQL for PostgreSQL to Agent Engine | View on GitHub | 
| 
            
  
    
      Agent engine
    
  
           
            
  
    
      Agents
    
  
           
            
  
    
      Gemini
    
  
           | Building and Deploying a Google Maps API Agent with Agent Engine | View on GitHub | 
| 
            
  
    
      Agent engine
    
  
           
            
  
    
      Gemini
    
  
           
            
  
    
      Langgraph
    
  
           | Building and Deploying a LangGraph Application with Agent Engine in Vertex AI | View on GitHub | 
| 
            
  
    
      Gemini
    
  
           
            
  
    
      Multimodal
    
  
           | Video Analysis with Gemini | View on GitHub | 
| 
            
  
    
      Gemini
    
  
           
            
  
    
      Multimodal
    
  
           | YouTube Video Analysis with Gemini | View on GitHub | 
| 
            
  
    
      Gemini
    
  
           
            
  
    
      Multimodal
    
  
           
            
  
    
      Vector search
    
  
           | Building a Multimodal Chatbot for Warranty Claims using Gemini and Vector Search in Vertex AI | View on GitHub | 
| 
            
  
    
      Gemini
    
  
           
            
  
    
      Multimodal
    
  
           
            
  
    
      Rag
    
  
           | Multimodal Retrieval Augmented Generation (RAG) using Gemini API in Vertex AI | View on GitHub | 
| 
            
  
    
      Gemini
    
  
           
            
  
    
      Llamaindex
    
  
           
            
  
    
      Rag
    
  
           | LlamaIndex with Vertex AI Vector Search to perform question answering RAG | View on GitHub | 
| 
            
  
    
      Gemini
    
  
           
            
  
    
      Langchain
    
  
           
            
  
    
      Multimodal
    
  
           
            
  
    
      Rag
    
  
           | Multimodal Retrieval Augmented Generation (RAG) with Gemini, Vertex AI Vector Search, and LangChain | View on GitHub | 
| 
            
  
    
      Gemini
    
  
           
            
  
    
      Rag
    
  
           | Small-to-big Retrieval-Augmented Generation | View on GitHub | 
| 
            
  
    
      Gemini
    
  
           
            
  
    
      Prompting
    
  
           | ReAct (Reasoning + Acting) + Custom tool for Healthcare NL API + Gemini + LangChain | View on GitHub | 
| 
            
  
    
      Gemini
    
  
           
            
  
    
      Prompting
    
  
           | Using Gemini in Education | View on GitHub | 
| 
            
  
    
      Gemini
    
  
           
            
  
    
      Prompting
    
  
           | AI Quick Build Experience | View on GitHub | 
| 
            
  
    
      Gemini
    
  
           
            
  
    
      Multimodal
    
  
           
            
  
    
      Rag
    
  
           | Code Retrieval Augmented Generation (RAG) with Gemini API | View on GitHub | 
| 
            
  
    
      Gemini
    
  
           
            
  
    
      Multimodal
    
  
           | Product listing generation with Gemini | View on GitHub | 
| 
            
  
    
      Gemini
    
  
           
            
  
    
      Multimodal
    
  
           | Multimodal retail recommendation: using Gemini to recommend items based on images and image reasoning | View on GitHub | 
| 
            
  
    
      Gemini
    
  
           
            
  
    
      Multimodal
    
  
           
            
  
    
      Prompting
    
  
           | Sheet Music Analysis with Gemini | View on GitHub | 
| 
            
  
    
      Gemini
    
  
           
            
  
    
      Multimodal
    
  
           | Analyzing movie posters in BigQuery with Gemini | View on GitHub | 
| 
            
  
    
      Gemini
    
  
           
            
  
    
      Langchain
    
  
           | Getting Started with LangChain 🦜️🔗 + Gemini API in Vertex AI | View on GitHub | 
| 
            
  
    
      Agents
    
  
           
            
  
    
      Gemini
    
  
           | Building a Weather Agent with AutoGen and Gemini | View on GitHub | 
| 
            
  
    
      Gemini
    
  
           
            
  
    
      Prompting
    
  
           | Vertex AI Prompt Optimizer Notebook UI | View on GitHub | 
| 
            
  
    
      Gemini
    
  
           
            
  
    
      Prompting
    
  
           | Vertex AI Prompt Optimizer - Tool usage | View on GitHub | 
| 
            
  
    
      Gemini
    
  
           
            
  
    
      Prompting
    
  
           | Vertex AI Prompt Optimizer - Custom metric | View on GitHub | 
| 
            
  
    
      Gemini
    
  
           
            
  
    
      Prompting
    
  
           | Intro to Vertex AI Prompt Optimizer | View on GitHub | 
| 
            
  
    
      Gemini
    
  
           
            
  
    
      Prompting
    
  
           | Text Summarization with Generative Models on Vertex AI | View on GitHub | 
| 
            
  
    
      Gemini
    
  
           
            
  
    
      Prompting
    
  
           | Ideation with Generative Models on Vertex AI | View on GitHub | 
| 
            
  
    
      Gemini
    
  
           
            
  
    
      Prompting
    
  
           | Chain of Thought & ReAct | View on GitHub | 
| 
            
  
    
      Gemini
    
  
           
            
  
    
      Prompting
    
  
           | Question Answering with Generative Models on Vertex AI | View on GitHub | 
| 
            
  
    
      Gemini
    
  
           
            
  
    
      Prompting
    
  
           | Text Classification with Generative Models on Vertex AI | View on GitHub | 
| 
            
  
    
      Gemini
    
  
           
            
  
    
      Prompting
    
  
           | Text Extraction with Generative Models on Vertex AI | View on GitHub | 
| 
            
  
    
      Gemini
    
  
           
            
  
    
      Tuning
    
  
           | Supervised Fine Tuning with Gemini 2.0 Flash for Change Detection | View on GitHub | 
| 
            
  
    
      Gemini
    
  
           
            
  
    
      Tuning
    
  
           | Supervised Fine-Tuning with Gemini 2.0 Flash for Q & A | View on GitHub | 
| 
            
  
    
      Gemini
    
  
           
            
  
    
      Tuning
    
  
           | Supervised Fine Tuning with Gemini 2.0 Flash for Image Captioning | View on GitHub | 
| 
            
  
    
      Evaluation
    
  
           
            
  
    
      Gemini
    
  
           
            
  
    
      Model garden
    
  
           | Use Gen AI Evaluation SDK to Evaluate Models in Vertex AI Studio, Model Garden, and Model Registry | View on GitHub | 
| 
            
  
    
      Evaluation
    
  
           
            
  
    
      Gemini
    
  
           
            
  
    
      Rag
    
  
           | Evaluate Generated Answers from RAG using Rapid Evaluation and Dataflow ML with Vertex AI Pipelines | View on GitHub | 
| 
            
  
    
      Evaluation
    
  
           
            
  
    
      Gemini
    
  
           | Enhancing Quality and Explainability with Vertex AI Evaluation | View on GitHub | 
| 
            
  
    
      Evaluation
    
  
           
            
  
    
      Gemini
    
  
           | Evaluate and Compare Gen AI Model Settings | View on GitHub | 
| 
            
  
    
      Evaluation
    
  
           
            
  
    
      Gemini
    
  
           | Bring-Your-Own-Autorater using Custom Metrics | View on GitHub | 
| 
            
  
    
      Evaluation
    
  
           
            
  
    
      Gemini
    
  
           | Evaluate a Translation Model | View on GitHub | 
| 
            
  
    
      Evaluation
    
  
           
            
  
    
      Gemini
    
  
           | Compare and Migrate from PaLM to Gemini Model | View on GitHub | 
| 
            
  
    
      Evaluation
    
  
           
            
  
    
      Gemini
    
  
           
            
  
    
      Multimodal
    
  
           | Evaluating Multimodal Tasks | View on GitHub | 
| 
            
  
    
      Evaluation
    
  
           
            
  
    
      Gemini
    
  
           
            
  
    
      Langchain
    
  
           | Evaluate LangChain | View on GitHub | 
| 
            
  
    
      Evaluation
    
  
           
            
  
    
      Gemini
    
  
           | Compare Generative AI Models | View on GitHub | 
| 
            
  
    
      Evaluation
    
  
           
            
  
    
      Gemini
    
  
           
            
  
    
      Rag
    
  
           | Evaluate Generated Answers from RAG for QA with Gen AI Evaluation Service SDK | View on GitHub | 
| 
            
  
    
      Evaluation
    
  
           
            
  
    
      Gemini
    
  
           | Customize Model-based Metrics to Evaluate a Gen AI Model | View on GitHub | 
| 
            
  
    
      Evaluation
    
  
           
            
  
    
      Gemini
    
  
           
            
  
    
      Rag
    
  
           | Evaluate Generative Model Tool Use | View on GitHub | 
| 
            
  
    
      Gemini
    
  
           
            
  
    
      Prompting
    
  
           
            
  
    
      Rag
    
  
           
            
  
    
      Security
    
  
           | Gen AI and LLM Security - ReAct and RAG Attacks & Mitigations | View on GitHub | 
| 
            
  
    
      Gemini
    
  
           
            
  
    
      Security
    
  
           | Responsible AI with Gemini API in Vertex AI: Safety Ratings and Thresholds | View on GitHub | 
| 
            
  
    
      Batch prediction
    
  
           
            
  
    
      Gemini
    
  
           | Monitor Batch Prediction with Gemini API | View on GitHub | 
| 
            
  
    
      Imagen
    
  
           
            
  
    
      Multimodal
    
  
           | Imagen 3 Customized Images | View on GitHub | 
| 
            
  
    
      Gemini
    
  
           
            
  
    
      Imagen
    
  
           
            
  
    
      Multimodal
    
  
           | Create High Quality Visual Assets with Imagen and Gemini | View on GitHub | 
| 
            
  
    
      Imagen
    
  
           
            
  
    
      Multimodal
    
  
           | Create a Photoshop Document with Image Segmentation on Vertex AI | View on GitHub | 
| 
            
  
    
      Gemini
    
  
           
            
  
    
      Imagen
    
  
           
            
  
    
      Multimodal
    
  
           | Enhance Imagen Prompts with Gemini | View on GitHub | 
| 
            
  
    
      Imagen
    
  
           
            
  
    
      Multimodal
    
  
           | Image Segmentation on Vertex AI | View on GitHub | 
| 
            
  
    
      Search
    
  
           | Vertex AI Search with Filters & Metadata | View on GitHub | 
| 
            
  
    
      Gemini
    
  
           
            
  
    
      Search
    
  
           | Vertex AI Search - Querying Blended Data Apps and Summarization with Gemini | View on GitHub | 
| 
            
  
    
      Search
    
  
           | Create a Vertex AI Search Datastore and Search Engine | View on GitHub | 
| 
            
  
    
      Search
    
  
           | Building Search Applications with Vertex AI Search | View on GitHub | 
| 
            
  
    
      Gemini
    
  
           
            
  
    
      Langchain
    
  
           
            
  
    
      Rag
    
  
           
            
  
    
      Search
    
  
           | Question Answering Over Documents | View on GitHub | 
| 
            
  
    
      Gemini
    
  
           
            
  
    
      Rag
    
  
           
            
  
    
      Search
    
  
           | Bulk Question Answering with Vertex AI Search | View on GitHub | 
| 
            
  
    
      Embeddings
    
  
           
            
  
    
      Search
    
  
           | Custom Embeddings with Vertex AI Search | View on GitHub | 
| 
            
  
    
      Chirp
    
  
           
            
  
    
      Speech
    
  
           | Get Started with Chirp 2 - Advanced Features | View on GitHub | 
| 
            
  
    
      Claude
    
  
           
            
  
    
      Function calling
    
  
           
            
  
    
      Model garden
    
  
           | Multimodal Function Calling with Claude Models | View on GitHub | 
| 
            
  
    
      Agents
    
  
           
            
  
    
      Search
    
  
           | Vertex AI Search and Conversation Data Store Status Checker | View on GitHub | 
| 
            
  
    
      Agents
    
  
           
            
  
    
      Gemini
    
  
           | Building a Research Multi Agent System - a Design Pattern Overview with Gemini 2.0 | View on GitHub | 
| 
            
  
    
      Code execution
    
  
           
            
  
    
      Gemini
    
  
           | Intro to Generating and Executing Python Code with Gemini 2.0 | View on GitHub | 
| 
            
  
    
      Agents
    
  
           
            
  
    
      Evaluation
    
  
           
            
  
    
      Gemini
    
  
           | Evaluating Agents - Evaluate a CrewAI agent with Vertex AI Gen AI Evaluation | View on GitHub | 
| 
            
  
    
      Agents
    
  
           
            
  
    
      Evaluation
    
  
           
            
  
    
      Gemini
    
  
           
            
  
    
      Langgraph
    
  
           | Evaluating Agents - Evaluate a LangGraph agent with Vertex AI Gen AI Evaluation | View on GitHub | 
| 
            
  
    
      Gemini
    
  
           
            
  
    
      Live api
    
  
           
            
  
    
      Multimodal
    
  
           
            
  
    
      Rag
    
  
           | Interactive Loan Application Assistant (Financial Services) | View on GitHub | 
| 
            
  
    
      Rag
    
  
           
            
  
    
      Rag engine
    
  
           
            
  
    
      Search
    
  
           | Vertex AI RAG Engine with Vertex AI Search | View on GitHub | 
| 
            
  
    
      Agent engine
    
  
           
            
  
    
      Agents
    
  
           
            
  
    
      Evaluation
    
  
           | Evaluate a CrewAI agent on Vertex AI Agent Engine (Customized template) | View on GitHub | 
| 
            
  
    
      Agent engine
    
  
           
            
  
    
      Agents
    
  
           
            
  
    
      Evaluation
    
  
           
            
  
    
      Langchain
    
  
           | Evaluating a LangChain Agent on Vertex AI Agent Engine (Prebuilt template) | View on GitHub | 
| 
            
  
    
      Agent engine
    
  
           
            
  
    
      Agents
    
  
           
            
  
    
      Evaluation
    
  
           
            
  
    
      Langgraph
    
  
           | Evaluate a LangGraph agent on Vertex AI Agent Engine (Customized template) | View on GitHub | 
| 
            
  
    
      Gemini
    
  
           
            
  
    
      Search
    
  
           | Q&A Chatbot with Vertex AI Search for summarized website results | View on GitHub | 
| 
            
  
    
      Gemini
    
  
           | Getting started with Gemini using Vertex AI in Express Mode | View on GitHub | 
What's next
- Learn about LLMs, Vertex AI, and Generative AI models with Generative AI beginner's guide.
- Explore more resources in the Generative AI GitHub repo.