Vertex AI Prompt Optimizer
Independent PiSkill directory guide. The original prompt remains hosted by Google Cloud Generative AI.
What does this prompt do?
Demonstrates how to improve prompts with the Vertex AI Prompt Optimizer and evaluate whether optimized variants perform better for a target task.
Primary use case
Optimize an existing prompt with Vertex AI's managed optimizer.
Expected output
An optimized prompt plus before-and-after evaluation evidence.
Inputs or variables
- baseline prompt
- examples
- evaluation target
Related prompts
Long Prompt Optimization
Applies Vertex AI prompt optimization to long instructions where structure, retained constraints, examples, and context use need careful evaluation.
Prompt Optimizer with Custom Metrics
Shows how to optimize a Gemini prompt against a task-specific evaluation metric instead of relying on a generic measure of answer quality.
Gemini Prompt Design Introduction
Provides a practical notebook for learning and applying prompt-design techniques with Gemini, including clear instructions, examples, context, and output constraints.
Multimodal Prompt Optimization
Optimizes Gemini prompts that combine text with visual or other multimodal inputs and evaluates the resulting structured task behavior.
Tool-Use Prompt Optimization
Improves prompts for Gemini tool use by evaluating tool-selection behavior, argument quality, sequencing, and final-answer integration.
AI-Assisted Data Science
Uses Gemini to explore a data question, inspect a dataset, develop analysis steps, produce code, and explain findings with assumptions and validation checks.