Long Prompt Optimization
Independent PiSkill directory guide. The original prompt remains hosted by Google Cloud Generative AI.
What does this prompt do?
Applies Vertex AI prompt optimization to long instructions where structure, retained constraints, examples, and context use need careful evaluation.
Primary use case
Refine a long Gemini instruction while preserving required behavior.
Expected output
A shorter or clearer prompt validated against the stated task.
Inputs or variables
- long prompt
- examples
- success criteria
Related prompts
Vertex AI Prompt Optimizer
Demonstrates how to improve prompts with the Vertex AI Prompt Optimizer and evaluate whether optimized variants perform better for a target task.
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.
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.
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.
BigQuery RAG with Gemini
Builds a retrieval-augmented question-answering workflow with BigQuery data, embeddings, retrieval, prompt context, and grounded Gemini responses.
Gemini Code RAG
Builds retrieval over source code so Gemini can answer development questions with relevant repository context instead of relying on an oversized undifferentiated prompt.