Choose a sample to view an example of a prompt and a response from one of Google's generative AI models. Alternatively, you can view and test prompts in the Google Cloud console if you have a Google Cloud account:
For details on how to query a model with different parameter values and compare results, see one of the following topics based on your use case: image understanding, video understanding, audio understanding, or document understanding.
-
A rainbows and sunshine chatbot
Write / Generate: A chatbot that provides positive and cheerful responses.
-
Job post
Write / Generate: Write a job post and description.
-
Ad copy from video
Write / Generate: Write a creative ad copy based on a video.
-
Ad copy
Write / Generate: Write ad copy for different topics from a product description.
-
Advertising Campaign
Write / Generate: The AI is tasked to create advertising campaigns for its clients.
-
Airline reviews
Write / Generate: The prompt asks the model to write a summary based on customer reviews of an airline company called GoWhereYouLike.
-
Analyze financial news
Summarize: Provide an overall investment rating on a company based on recent news.
-
Analyze market share
Answer Question: Analyze the competitive landscape of the streaming service market based on financial data.
-
Animal facts
Answer Question: Answer questions about an animal only based on provided paragraphs.
-
Animal Information Chatbot
Write / Generate: The animal assistant chatbot answers questions about animals.
-
Application extraction
Extract: Extract the organization name and other data from an application.
-
Classify articles
Classify: Label articles with custom topics.
-
Audio Summarization
Summarize: Summarize an audio file
-
Audio summary on clean energy
Summarize: Summarize a piece of audio recording.
-
Audio transcription
Extract: Generate the transcription for a piece of audio recording.
-
Audio/video Q&A
Answer Question: Audio/video Q&A
-
Hashtags for a video
Summarize: Generate hashtags for a video ad
-
Beach vacation
Write / Generate: The prompt asks the model to write a summary based on customer reviews of a beach in California.
-
Blog post creator
Write / Generate: Create a blog post
-
Book Publishing and Editing
Write / Generate: Take a verbose, subjective excerpt and distill it into a concise, objective list of facts
-
Brand extractor
Extract: Extract product and brand names from text.
-
Build a TensorFlow neural network
Code: An example based tutorial on how to build Tensorflow neural network for better accuracy.
-
Business Development Writing
Write / Generate: Extract relevant information from the user input that can be used in business development initiatives.
-
Support call next steps
Summarize: Summarize actions taken during a custom support call and agent next steps.
-
Support call summary
Summarize: Summarize a customer support call from the agent perspective.
-
Chatbot recommendations for courses
Write / Generate: A chatbot suggests courses for a performing arts program.
-
Classify headlines
Classify: Label news headlines with custom topics using examples.
-
Code optimization explanation
Code: Optimize and explain C++ code, focusing on time complexity.
-
Company Financial Analysis
Answer Question: Company Financial Analysis
-
Company chatbot
Answer Question: Create a chatbot for customers with basic company information.
-
Completing Go functions
Code: Generate SQL scripts based on a CSV file using Go
-
Contract analysis
Extract: Find the governing law in a contract.
-
Grammar help
Write / Generate: Rewrite text with correct grammar.
-
Create job postings & emails
Write / Generate: Create job postings and marketing emails.
-
Creative rewrite
Write / Generate: Rewrite a blog post for social media
-
Cuisine questions
Answer Question: Use the provided sources to answer questions about Vietnamese cuisine with citations.
-
Culinary Dish Classification
Extract: Analyze popular Italian pasta by sorting them, identifying key ingredients, and presenting in a requested format.
-
Classify help tickets
Classify: Label help tickets with custom categories using examples.
-
Customer review summarization
Summarize: Summarize and assign a sentiment to customer restaurant reviews.
-
Customer Service Assistance
Answer Question: The prompt works to extract the main issues out from customer service complaints and suggest ways to resolve them.
-
Data science learning plan
Transform: Create a tailored data science learning plan with specific resources for a user with given background, interests, and goals.
-
Data sources and monitoring
Code: Specify different training data and add monitoring.
-
Debug check sum parity
Code: Debug the given C++ code.
-
Debug nullptr error
Code: Debug C++ code with explanations.
-
Describe Python code
Code: Provide a detailed description of Python timer code.
-
Describe video content
Write / Generate: Get a description of the contents of a rock climbing video.
-
Dialog summary
Summarize: Summarize a conversation using examples.
-
Django form debugging
Code: Evaluating Django form-handling code to identify bugs, inefficiencies, and security issues.
-
Docker script
Code: Writing a script in Docker to set up your environment
-
Document classification
Classify: Find the category of a document among a list of categories.
-
Document comparison
Summarize: Compare the contents of 2 documents
-
Extract entities from an invoice
Extract: Extract entities from an invoice document and return them in JSON.
-
Document entity extraction
Extract: Extract a set of entities from a document and return them in JSON.
-
Document question answering
Answer Question: Answer question(s) over a document.
-
Document summarization
Summarize: Summarize the content of a document.
-
Document translation
Transform: Translate the content of a document.
-
E-commerce Business Report
Write / Generate: Analyze the product information provided to generate a report based on the category or categories input by the user.
-
Educational content generator
Write / Generate: This model is helping teachers with generating topics, open-ended and closed-ended multiple choice questions.
-
Educational Lesson Planning
Write / Generate: The prompt creates an engaging and grade level appropriate lesson plan for teachers.
-
English text sample
Transform: English text sample
-
European Travel Itinerary
Write / Generate: The prompt guides the model to create a European travel itinerary with requests from the user.
-
Explain a SQL function
Code: Explain a SQL code snippet.
-
Explain JavaScript code
Code: Walking through Javascript code block
-
Extract from earnings report
Extract: Extract insights of an earnings report.
-
Extract dates & events
Extract: Extract dates and description of events in chronological order from a paragraph.
-
Extract information from a chart
Extract: Generate a description of a diagram, so that it can be indexed and searched over.
-
Extract text from images
Extract: Transcribe text from a handwritten note.
-
Extract video chapters
Extract: Extract the chapters in a video as structured JSON
-
Fill an empty form
Write / Generate: Automatically fill a form field in a target form from a source document.
-
Financial QA - Deductive
Answer Question: Ask deductive questions about a (long) financial document.
-
Financial QA - Extractive
Answer Question: Ask extractive questions about a (long) financial document.
-
Financial table summarization
Summarize: Summarize key insights from a financial report table with heavy numerical info.
-
Translation
Transform: Translate text from English to French
-
Generate a web form
Code: Generate a modern Web form using HTML and Javascript.
-
Generate C++ test cases
Code: Validate the behavior of a C++ class using varied assertions
-
Generate code from comments
Code: Generate Java code from natural-language comments
-
Generate Go commit message
Code: Create a conventional commit message for Golang changes.
-
Generate Java changelogs
Code: Generate a concise code change-log entry based on a diff file for Java code.
-
Generate Java classes
Code: Create an interface and class implementation in Java.
-
Generate Java unit tests
Code: Generate unit tests for legacy Java code
-
Generate Python docstrings & comments
Code: Generate docstrings and comments for Python functions.
-
Generate quick sort unit test
Code: Generate unit tests for a given Python function.
-
Generate search tree tests
Code: Create unit tests with edge cases for binary search trees
-
Generate Social Media Contents
Summarize: Provide an attractive caption and hashtags of your video for social media.
-
Generate SQL query
Code: Generate a SQL query to count and sort unique logins in the last month
-
Hashtag tokenization
Summarize: Create and tokenize hashtags.
-
Hedge unanswerable question
Extract: Ask an unanswerable question to the model.
-
Homework
Answer Question: Solve a math question
-
Hotel brand strategy
Write / Generate: Create a brand strategy for a boutique hotel chain for book lovers
-
Hurricane chart identification
Answer Question: Identify elements of a hurricane chart
-
Few shot image to JSON
Answer Question: Use world knowledge and the provided examples to answer questions.
-
Image question answering
Answer Question: Show the model an image of a fruit and find the price from another image.
-
Image text to JSON
Extract: Extract the items and prices from a fish market photo and output them in JSON.
-
Interview Prep QA
Answer Question: This model helps prepare interviewers for various different interviews.
-
Interview questions
Write / Generate: Create interview questions based on a job title.
-
Japanese text sample
Transform: Japanese text sample
-
JavaScript physics simulation
Code: Modifying and explaining a JavaScript marble simulation.
-
Learn about dataset transformations
Code: Understand preprocessing, balancing, stratification, and dataset suitability for machine learning.
-
Legal QA - Extractive
Answer Question: Ask extractive questions about a (long) legal document.
-
Logo Detection
Extract: Extract general Logos' appearance in the video with timestamps.
-
Marketing content generator
Write / Generate: This prompt generates an article promoting a brand using a famous person and a pet.
-
Product announcement
Write / Generate: Write a marketing announcement highlighting product features.
-
Mathematical Reasoning
Answer Question: Solve a math question
-
Modify tone & writing style
Write / Generate: Change the tone and writing style of a blurb.
-
Creative naming
Write / Generate: Generate an interesting name for a store.
-
Nonprofit Media Assistance
Answer Question: A media relations bot provides talking points extracted from a year-end report.
-
Classify objects
Classify: Label objects with custom categories using examples.
-
Optimize uniqueness check
Code: Optimize the generation of unique identifiers.
-
Organize viewpoints and examples
Extract: Extract main viewpoints and examples into a table, given the provided template and user input.
-
Personalized development suggestions
Transform: Generate tailored educational and professional development suggestions in JSON format based on provided personal profile data.
-
Pet/animal needs
Write / Generate: Help pet owners with their pets
-
Tech specs
Extract: Generate technical specifications in JSON format.
-
Predicting revenue
Code: Train and evaluate a Random Forest model using sales data.
-
Procedural to OOP refactoring
Code: Convert procedural code to an object-oriented design
-
Product Advertisement Ideas
Write / Generate: Decide on the best advertising method for the user-input product/company
-
Product description classification
Classify: Name and categorize shoes in JSON format.
-
Product Detection
Extract: Extract a specific retail product with the reference image in the video with timestamps.
-
Python algorithm
Code: Generate codes for algorithm using context clues.
-
Python/ data science explanation
Code: Describe how Python code retrieves and visualizes data.
-
Python from documentation
Code: Generate a Python function given its docstring
-
Python visualization
Code: Write Python code to visualize a weighted directed graph with example data
-
Question answering about a chart
Answer Question: Answer questions by analyzing a simple line chart.
-
Question answering about an image
Answer Question: Answer knowledge-extensive questions about an image
-
Refactoring Python code
Code: Refactor Python code for better modularity and add functionality.
-
Regex completion and explanation
Code: Implement regex-based sentence splitting for function completion.
-
Regexed
Code: Convert natural language queries and constraints to regex constructs
-
Replace callbacks by async/await
Code: Replace callbacks by async/await for better readability and error handling in JavaScript.
-
Research assistant
Answer Question: Understand the key attributes of the research paper's methodology
-
Rules' Effect on Profits
Write / Generate: Generate content for a section of a college sports management textbook.
-
Scene Improvement for Scriptwriting
Write / Generate: The model acts as a chatbot that helps improve scripts for television and film.
-
Screenwriting
Write / Generate: The prompt instructs the model to outline a movie plot and generate character ideas.
-
Sentiment analysis
Classify: Assign a positive or negative sentiment to text.
-
Person sentiment
Classify: Assign a positive or negative sentiment to a person in a news article.
-
Skin care questions
Answer Question: Use only the provided sources to answer questions without citations.
-
Speech Writing
Write / Generate: A speech must be written adhering to the information input by the user.
-
SQL query explanation
Code: Explain the components of two SQL queries, compare outputs, and assess efficiency.
-
Stock price table as JSON
Extract: Generate key information from a stock data table and return as JSON
-
Summarization of reviews
Write / Generate: Summarize reviews to understand pros and cons of businesses and provide relevant advice.
-
Summarize hotel reviews
Summarize: Summarize the pros and cons from a set of hotel reviews.
-
Article summary
Summarize: Summarize a news article.
-
Summarize video
Summarize: Summarize a video and extract important dialogue.
-
Support chat summary
Summarize: Summarize a customer support call.
-
Support chat summary - French
Summarize: Summarize a customer support chat in French.
-
Swimming Q&A
Answer Question: Questions & answers about learning swimming.
-
Synopsis assistance for writers
Write / Generate: The prompt is meant to create ideas for a writer to formulate a marketable synopsis of their submitted work.
-
Table parsing from document
Answer Question: Extract a table from a document and return it in a structured format (e.g., HTML).
-
Teaching Python decorators
Code: Identify and explain the decorators in code.
-
Classify text
Classify: Label short-form text with custom categories using examples.
-
Title generation
Summarize: Create a title for an article using examples.
-
Transcript summary
Summarize: Summarize a transcript using examples.
-
Translate C++ to Java
Code: Convert C++ code to Java while preserving functionality
-
Travel tips
Write / Generate: The user wants the model to help a new traveler with travel tips for traveling.
-
Typescript migration
Code: Translate JavaScript to TypeScript.
-
User query assistance
Extract: This prompt uses website help center text to help users find answers to questions.
-
Vacation Planning
Write / Generate: The model's goal is helping a client plan a family vacation.
-
Video Ad script writer
Write / Generate: Write social media style video ad scripts
-
Video game categories
Classify: This is a multi-use prompt for generating terms and definitions and then placing them into categories.
-
Video Q&A
Answer Question: Answer questions about the key moments in the video.
-
Video QA - exercise
Answer Question: Get the activity that's being performed in an exercise video by asking a question.
-
Vocabulary Quiz Administrating Bot
Write / Generate: Generate quizzes about vocabulary words.
-
Troubleshoot
Extract: Suggest a solution to a technical issue using help documentation.
-
Troubleshoot - German
Extract: Suggest a solution to a technical issue using help documentation in German.
-
Write story from image
Write / Generate: Write a story based on the image of a dog in the snow wearing ski goggles.
-
Writing Assistant
Write / Generate: Help turn a document into an engaging presentation.
-
Writing Critique
Write / Generate: Help improve the quality of a presentation.