Prompts & plugins
Google AI提示词库
The Google AI Prompt Library (Prompt Gallery) is an official resource collection within the Google Cloud Vertex AI Generative AI documentation.
What is Google AI提示词库?
The Google AI Prompt Library (Prompt Gallery) is an official resource collection within the Google Cloud Vertex AI Generative AI documentation.It provides a vast array of designed prompt samples, demonstrating how to query Google's generative AI models for optimal results.These samples cover tasks ranging from basic Q&A to complex multimodal understanding, helping developers get started quickly and refine their model interactions.
The library is categorized by use case, including Answer Question, Classify, Code, Extract, Summarize, Transform, and Write/Generate.Each sample includes specific prompt structures and expected response examples.Users can test these prompts directly in the Google Cloud console or use them as benchmarks for building custom applications.
Note that Vertex AI services are now part of the Gemini Enterprise Agent Platform.While the documentation states that Vertex AI docs are no longer being updated, the prompt samples remain representative of standard practices for Google's generative AI models in handling image, video, audio, and document understanding.The official site also provides guides for adjusting model parameters and comparing results.
Key features
- Official AuthoriAll prompts are sourced from official Google Cloud documentation, ensuring alignment with best practices for Google's generative AI models.
- Comprehensive CoCovers seven major categories: Answer Question, Classify, Code, Extract, Summarize, Transform, and Write/Generate, meeting diverse needs from data analysis to content creation.
- Multimodal SuppoIncludes dedicated prompts for image, video, audio, and document understanding, such as 'Ad copy from video' or 'Question answering about a chart'.
- Code AssistanceOffers rich programming-related examples, including code optimization explanations, SQL query generation, Python refactoring, unit test generation, and multi-language code translation.
- Industry-SpecifiFeatures specialized prompts for vertical scenarios like financial analysis, legal document extraction, customer service summarization, and healthcare Q&A.
- Console IntegratUsers with a Google Cloud account can view and test these prompts directly in the console to observe model responses in real-time.
How to use it
- Visit the Prompt gallery page in the Google Cloud Vertex AI Generative AI documentation.
- Select a use case category based on your needs, such as 'Code' for programming assistance or 'Write/Generate' for content creation.
- Browse specific prompt samples, such as 'Generate SQL query' or 'Summarize hotel reviews', to view their structure and expected outputs.
- If you have a Google Cloud account, click 'Go to Prompt gallery' to access the console.
- Load the selected prompt in the console, adjust parameters if needed, and run it to test the model's actual response.
Where it fits
- Software DevelopUse code-related prompts to generate unit tests, explain complex SQL functions, translate C++ to Java, or optimize Python algorithm performance.
- Financial & BusiLeverage extract and summarize prompts to analyze earnings reports, extract entities from invoices, summarize customer reviews, or evaluate investment ratings based on news.
- Multimedia ConteUtilize multimodal prompts to extract chapters from videos, write stories from images, generate ad copy from video content, or create social media hashtags.
Pricing and free quota
Pricing and any free quota follow the official site.
Who it is for
- AI Application Developers
- Data Scientists
- Software Engineers
- Content Creators
- Business Analysts
FAQ
Which models are these prompts designed for?
These samples are designed to demonstrate the capabilities of Google's generative AI models.For specific model versions, please refer to the Google Cloud console or the latest Gemini Enterprise Agent Platform documentation.
Can I copy these prompts directly into my application?
Yes.These prompts are public examples.You can use them as a base, adjust and optimize them according to your specific business needs, and integrate them into your application.
What does it mean that Vertex AI docs are no longer being updated?
It means that Vertex AI services are now part of the Gemini Enterprise Agent Platform.Users are advised to refer to the Agent Platform documentation for the latest service information and feature updates, though existing prompt samples remain valuable references.