A collection of guides and examples for Generative AI on Vertex AI.
Explore more in the Generative AI Repository on GitHub.
Gemini Quickstarts
-
Get started with Gemini in Vertex AI with the Python SDK.
-
Learn the essentials and best practices of prompt engineering.
-
Connect Gemini to external tools using function calling.
-
Connect Gemini to real-world data from Google Search or Vertex AI Search to improve response quality.
-
Use Batch Prediction to run inference on a large number of examples.
-
Use the Long Context Window to process large amounts of multimodal data.
-
Use context caching to store frequently used data.
-
Learn to control Gemini API output formats for easier data processing.
-
Learn how to call Gemini using Chat Completions.
Featured Tutorials
-
Learn about how to use Chirp 2, the latest generation of Google's multilingual ASR-specific models.
-
Use Imagen 3 to create photorealistic images.
-
Use AI's multitool, Embeddings, and Vertex AI Vector Search perform semantic matching.
-
Learn how to combine LangGraph's workflow capabilities with Gemini's language understanding and generation skills to streamline and automate complex financial analysis tasks.
-
Use Gemini, LangGraph, and Text-to-Speech to create custom podcast episodes.
-
Use Gemini and Text-to-Speech to create and read a story with multiple characters.
-
Use Gemini to generate code, summarize a codebase, debug, improve code, and assess code.
-
Learn about prompt injection attacks and how to mitigate them.
-
Evaluate Gemini responses using metrics and custom datasets.
-
Learn how to fine-tune Gemini for specific tasks.
-
Build custom RAG workflows with Gemini and Vertex AI RAG Engine.
-
Use Gemini to process documents for classification, extraction, and summarization.
All Tutorials
Gemini
|
Intro to Gemini Get started with Gemini in Vertex AI with the Python SDK. |
|
Gemini
Prompting
|
Intro to Prompt Engineering Learn the essentials and best practices of prompt engineering. |
|
Gemini
Function Calling
|
Function Calling with Gemini Connect Gemini to external tools using function calling. |
|
Gemini
Grounding
Search
RAG
|
Grounding with Gemini Connect Gemini to real-world data from Google Search or Vertex AI Search to improve response quality. |
|
Gemini
Batch
|
Gemini Batch prediction Use Batch Prediction to run inference on a large number of examples. |
|
Gemini
|
Long Context Window Use the Long Context Window to process large amounts of multimodal data. |
|
Gemini
|
Intro to Context Caching Use context caching to store frequently used data. |
|
Gemini
JSON
|
Intro to Controlled Generation with the Gemini API Learn to control Gemini API output formats for easier data processing. |
|
Gemini
|
Call Gemini by using the OpenAI Library Learn how to call Gemini using Chat Completions. |
|
Speech
Chirp
|
Get started with Chirp 2 for Speech-to-Text Learn about how to use Chirp 2, the latest generation of Google's multilingual ASR-specific models. |
|
Imagen
Image
|
Intro to Imagen 3 Image Generation Use Imagen 3 to create photorealistic images. |
|
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. |
|
Gemini
LangGraph
LangChain
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. |
|
Gemini
LangGraph
LangChain
Orchestration
Speech
|
Create custom podcast episodes Use Gemini, LangGraph, and Text-to-Speech to create custom podcast episodes. |
|
Gemini
Speech
|
Storytelling with Gemini and Text-to-Speech Use Gemini and Text-to-Speech to create and read a story with multiple characters. |
|
Gemini
Code
|
Analyze a codebase Use Gemini to generate code, summarize a codebase, debug, improve code, and assess code. |
|
Gemini
Security
Prompting
|
LLM Security for developers Learn about prompt injection attacks and how to mitigate them. |
|
Gemini
Evaluation
|
Gen AI Evaluation Service Evaluate Gemini responses using metrics and custom datasets. |
|
Gemini
Tuning
|
Supervised Fine-tuning with Gemini Learn how to fine-tune Gemini for specific tasks. |
|
Gemini
RAG
|
Intro to Vertex AI RAG Engine Build custom RAG workflows with Gemini and Vertex AI RAG Engine. |
|
Gemini
Documents
Multimodal
|
Document Processing with Gemini Use Gemini to process documents for classification, extraction, and summarization. |
|
Gemini
Multimodal
Prompting
|
Gemini with Multimodal Data How to prompt Gemini with multimodal data (text, documents, images, video, and audio). |
|
Gemini
REST
|
Get started with the Gemini REST API (cURL) Use the Gemini API with REST/curl. |
|
Gemini
Evaluation
Prompting
|
Prompt Engineering, Evaluation, and Prompt Templating Use Gen AI Evaluation Service SDK for prompt engineering and evaluation. |
|
Embeddings
Multimodal
|
Intro to Multimodal Embeddings Learn about multimodal embeddings. |
|
Embeddings
Tuning
|
Intro to Embeddings Tuning Learn how to tune embeddings models. |
|
Embeddings
Vector Search
|
Task Type Embeddings Learn how to get better embeddings for your specific task. |
|
Vector Search
Embeddings
|
Hybrid Search with Vertex AI Vector Search Learn how to use hybrid search with Vertex AI Vector Search combining semantic & keyword search. |
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.