Choose a sample to view an example of a prompt and a response from one of Google's generative AI models.
You can use the Google Cloud console or the Vertex AI API to query a model with different parameter values to test and compare their results. For more information, see send multimodal prompts.
-
Audio Diarization
Audio: Segment an audio record by speaker labels and aims to answer the question "who spoke when?".
-
Audio Summary on Clean Energy
Audio: Summarize a piece of audio recording.
-
Audio Transcription
Audio: Generate the transcription for a piece of audio recording.
-
Locate Timestamp in Audio
Audio: Locate the specified timestamp of a topic in the provided audio clip.
-
A Rainbows and Sunshine Chatbot
Chat: A chatbot that provides positive and cheerful responses.
-
Animal Facts
Chat: Answer questions about an animal only based on provided paragraphs.
-
Company chatbot
Chat: Create a chatbot for customers with basic company information.
-
Newsletter Design
Chat: A chatbot to help create engaging newsletters
-
Swimming Q&A
Chat: Questions & answers about learning swimming.
-
Video Ad Script Writer
Chat: Write social media style video ad scripts
-
Classify articles
Classification: Label articles with custom topics.
-
Classify headlines
Classification: Label news headlines with custom topics using examples.
-
Classify help tickets
Classification: Label help tickets with custom categories using examples.
-
Classify objects
Classification: Label objects with custom categories using examples.
-
Sentiment analysis
Classification: Assign a positive or negative sentiment to text.
-
Person sentiment
Classification: Assign a positive or negative sentiment to a person in a news article.
-
Classify text
Classification: Label short-form text with custom categories using examples.
-
Build A TensorFlow Neural Network
Code Explanation: An example based tutorial on how to build Tensorflow neural network for better accuracy.
-
Debug Check Sum Parity
Code Explanation: Debug the given C++ code.
-
Explain a SQL Function
Code Explanation: Explain a SQL code snippet.
-
Generate a Web form
Code Generation: Generate a modern Web form using HTML and Javascript.
-
Generate Java Changelogs
Code Generation: Generate a concise code change-log entry based on a diff file for Java code.
-
Generate Python Docstrings & Comments
Code Generation: Generate docstrings and comments for Python functions.
-
Generate Quick Sort Unit Test
Code Generation: Generate unit tests for a given Python function.
-
Generate SQL Query
Code Generation: Generate a SQL query to count and sort unique logins in the last month
-
Python From Documentation
Code Generation: Generate a Python function given its docstring
-
Python Visualization
Code Generation: Write Python code to visualize a weighted directed graph with example data
-
Replace Callbacks by Async/Await
Code Generation: Replace callbacks by async/await for better readability and error handling in JavaScript.
-
Document Classification
Document: Find the category of a document among a list of categories.
-
Document Comparison
Document: Compare the contents of 2 documents
-
Document Entity Extraction
Document: Extract a set of entities from a document and return them in JSON.
-
Document Question Answering
Document: Answer question(s) over a document.
-
Document Summarization
Document: Summarize the content of a document.
-
Document Translation
Document: Translate the content of a document.
-
Table Parsing From Document
Document: Extract a table from a document and return it in a structured format (e.g., HTML).
-
Contract analysis
Extraction: Find the governing law in a contract.
-
Extract from earnings report
Extraction: Extract insights of an earnings report.
-
Extract Dates & Events
Extraction: Extract dates and description of events in chronological order from a paragraph.
-
Question answering
Extraction: Answer questions from an article using examples.
-
Hedge unanswerable question
Extraction: Ask an unanswerable question to the model.
-
Tech specs
Extraction: Generate technical specifications in JSON format.
-
Stock Price Table as JSON
Extraction: Generate key information from a stock data table and return as JSON
-
Troubleshoot
Extraction: Suggest a solution to a technical issue using help documentation.
-
Troubleshoot - German
Extraction: Suggest a solution to a technical issue using help documentation in German.
-
Advice
Ideation: Make a list of suggestions for solving a given issue.
-
Advice - Hindi
Ideation: Make a list of suggestions for solving a given issue in Hindi.
-
Meme ideas
Ideation: Come up with funny ideas for memes.
-
Interview questions
Ideation: Create interview questions based on a job title.
-
Creative naming
Ideation: Generate an interesting name for a store.
-
Reading test
Ideation: Generate questions designed to test reading comprehension from an article.
-
Extract information from a chart
Image: Generate a description of a diagram, so that it can be indexed and searched over.
-
Fill an Empty Form
Image: Automatically fill a form field in a target form from a source document.
-
Question Answering About a Chart
Image: Answer questions by analyzing a simple line chart.
-
Question Answering About an Image
Image: Answer knowledge-extensive questions about an image
-
Ad copy from video
Video: Write a creative ad copy based on a video.
-
Audio/video Q&A
Video: Audio/video Q&A
-
Describe video content
Video: Get a description of the contents of a rock climbing video.
-
Extract entities from an invoice
Document: Extract entities from an invoice document and return them in JSON.
-
Extract text from images
Image: Transcribe text from a handwritten note.
-
Few shot image to JSON
Image: Use world knowledge and the provided examples to answer questions.
-
Image question answering
Image: Show the model an image of a fruit and find the price from another image.
-
Image text to JSON
Image: Extract the items and prices from a fish market photo and output them in JSON.
-
Video QA - exercise
Video: Get the activity that's being performed in an exercise video by asking a question.
-
Write story from image
Image: Write a story based on the image of a dog in the snow wearing ski goggles.
-
Analyze Market Share
Question Answering: Analyze the competitive landscape of the streaming service market based on financial data.
-
Cuisine Questions
Question Answering: Use the provided sources to answer questions about Vietnamese cuisine with citations.
-
Skin Care Questions
Question Answering: Use only the provided sources to answer questions without citations.
-
Analyze Financial News
Summarization: Provide an overall investment rating on a company based on recent news.
-
Support call next steps
Summarization: Summarize actions taken during a custom support call and agent next steps.
-
Support call summary
Summarization: Summarize a customer support call from the agent perspective.
-
Dialog summary
Summarization: Summarize a conversation using examples.
-
Financial table summarization
Summarization: Summarize key insights from a financial report table with heavy numerical info.
-
Hashtag tokenization
Summarization: Create and tokenize hashtags.
-
Summarize Hotel Reviews
Summarization: Summarize the pros and cons from a set of hotel reviews.
-
Article summary
Summarization: Summarize a news article.
-
Support chat summary
Summarization: Summarize a customer support call.
-
Support chat summary - French
Summarization: Summarize a customer support chat in French.
-
Title generation
Summarization: Create a title for an article using examples.
-
Transcript summary
Summarization: Summarize a transcript using examples.
-
French text sample
Translation: French text sample
-
Japanese text sample
Translation: Japanese text sample
-
Hashtags for a video
Video: Generate hashtags for a video ad
-
Extract video chapters
Video: Extract the chapters in a video as structured JSON
-
Summarize video
Video: Summarize a video and extract important dialogue.
-
Video Q&A
Video: Answer questions about the key moments in the video.
-
Job post
Writing: Write a job post and description.
-
Job post - Chinese
Writing: Write a job post and description in Chinese.
-
Ad copy
Writing: Write ad copy for different topics from a product description.
-
Grammar help
Writing: Rewrite text with correct grammar.
-
Create Job Postings & Emails
Writing: Create job postings and marketing emails.
-
Essay outline
Writing: Create an essay outline and structure on a given topic.
-
Hotel Brand Strategy
Writing: Create a brand strategy for a boutique hotel chain for book lovers
-
Product announcement
Writing: Write a marketing announcement highlighting product features.
-
Email writing
Writing: Turn a paragraph into a formal email or letter.
-
Email writing - Spanish
Writing: Turn a paragraph into a formal email or letter in Spanish.