<br />

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:

[Go to Prompt gallery](https://console.cloud.google.com/vertex-ai/generative/prompt-gallery)

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](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/multimodal/image-understanding),
[video understanding](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/multimodal/video-understanding),
[audio understanding](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/multimodal/audio-understanding), or
[document understanding](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/multimodal/document-understanding).
**Use case:** Answer Question Classify Code Extract Summarize Transform Write/Generate

<br />

- **[A rainbows and sunshine chatbot](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/write_and_generate_a_rainbows_and_sunshine_chatbot.md.txt)**

  <br />

  <br />

  Write/Generate A chatbot that provides positive and cheerful responses.
- **[Job post](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/write_and_generate_job_post.md.txt)**

  <br />

  <br />

  Write/Generate Write a job post and description.
- **[Ad copy from video](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/write_and_generate_ad_copy_from_video.md.txt)**

  <br />

  <br />

  Write/Generate Write a creative ad copy based on a video.
- **[Ad copy](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/write_and_generate_ad_copy.md.txt)**

  <br />

  <br />

  Write/Generate Write ad copy for different topics from a product description.
- **[Advertising Campaign](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/write_and_generate_advertising_campaign.md.txt)**

  <br />

  <br />

  Write/Generate The AI is tasked to create advertising campaigns for its clients.
- **[Airline reviews](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/write_and_generate_airline_reviews.md.txt)**

  <br />

  <br />

  Write/Generate The prompt asks the model to write a summary based on customer reviews of an airline company called GoWhereYouLike.
- **[Analyze financial news](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/summarize_analyze_financial_news.md.txt)**

  <br />

  <br />

  Summarize Provide an overall investment rating on a company based on recent news.
- **[Analyze market share](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/answer_question_analyze_market_share.md.txt)**

  <br />

  <br />

  Answer Question Analyze the competitive landscape of the streaming service market based on financial data.
- **[Animal facts](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/answer_question_animal_facts.md.txt)**

  <br />

  <br />

  Answer Question Answer questions about an animal only based on provided paragraphs.
- **[Animal Information Chatbot](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/write_and_generate_animal_information_chatbot.md.txt)**

  <br />

  <br />

  Write/Generate The animal assistant chatbot answers questions about animals.
- **[Application extraction](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/extract_application_extraction.md.txt)**

  <br />

  <br />

  Extract Extract the organization name and other data from an application.
- **[Classify articles](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/classify_classify_articles.md.txt)**

  <br />

  <br />

  Classify Label articles with custom topics.
- **[Audio Summarization](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/summarize_audio_summarization.md.txt)**

  <br />

  <br />

  Summarize Summarize an audio file
- **[Audio summary on clean energy](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/summarize_audio_summary_on_clean_energy.md.txt)**

  <br />

  <br />

  Summarize Summarize a piece of audio recording.
- **[Audio transcription](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/extract_audio_transcription.md.txt)**

  <br />

  <br />

  Extract Generate the transcription for a piece of audio recording.
- **[Audio/video Q\&A](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/answer_question_audio_video_q_and_a.md.txt)**

  <br />

  <br />

  Answer Question Audio/video Q\&A
- **[Hashtags for a video](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/summarize_hashtags_for_a_video.md.txt)**

  <br />

  <br />

  Summarize Generate hashtags for a video ad
- **[Beach vacation](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/write_and_generate_beach_vacation.md.txt)**

  <br />

  <br />

  Write/Generate The prompt asks the model to write a summary based on customer reviews of a beach in California.
- **[Blog post creator](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/write_and_generate_blog_post_creator.md.txt)**

  <br />

  <br />

  Write/Generate Create a blog post
- **[Book Publishing and Editing](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/write_and_generate_book_publishing_and_editing.md.txt)**

  <br />

  <br />

  Write/Generate Take a verbose, subjective excerpt and distill it into a concise, objective list of facts
- **[Brand extractor](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/extract_brand_extractor.md.txt)**

  <br />

  <br />

  Extract Extract product and brand names from text.
- **[Build a TensorFlow neural network](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/code_build_a_tensorflow_neural_network.md.txt)**

  <br />

  <br />

  Code An example based tutorial on how to build Tensorflow neural network for better accuracy.
- **[Business Development Writing](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/write_and_generate_business_development_writing.md.txt)**

  <br />

  <br />

  Write/Generate Extract relevant information from the user input that can be used in business development initiatives.
- **[Support call next steps](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/summarize_support_call_next_steps.md.txt)**

  <br />

  <br />

  Summarize Summarize actions taken during a custom support call and agent next steps.
- **[Support call summary](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/summarize_support_call_summary.md.txt)**

  <br />

  <br />

  Summarize Summarize a customer support call from the agent perspective.
- **[Chatbot recommendations for courses](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/write_and_generate_chatbot_recommendations_for_courses.md.txt)**

  <br />

  <br />

  Write/Generate A chatbot suggests courses for a performing arts program.
- **[Classify headlines](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/classify_classify_headlines.md.txt)**

  <br />

  <br />

  Classify Label news headlines with custom topics using examples.
- **[Code optimization explanation](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/code_code_optimization_explanation.md.txt)**

  <br />

  <br />

  Code Optimize and explain C++ code, focusing on time complexity.
- **[Company Financial Analysis](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/answer_question_company_financial_analysis.md.txt)**

  <br />

  <br />

  Answer Question Company Financial Analysis
- **[Company chatbot](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/answer_question_company_chatbot.md.txt)**

  <br />

  <br />

  Answer Question Create a chatbot for customers with basic company information.
- **[Completing Go functions](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/code_completing_go_functions.md.txt)**

  <br />

  <br />

  Code Generate SQL scripts based on a CSV file using Go
- **[Contract analysis](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/extract_contract_analysis.md.txt)**

  <br />

  <br />

  Extract Find the governing law in a contract.
- **[Grammar help](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/write_and_generate_grammar_help.md.txt)**

  <br />

  <br />

  Write/Generate Rewrite text with correct grammar.
- **[Create job postings \& emails](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/write_and_generate_create_job_postings__and__emails.md.txt)**

  <br />

  <br />

  Write/Generate Create job postings and marketing emails.
- **[Creative rewrite](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/write_and_generate_creative_rewrite.md.txt)**

  <br />

  <br />

  Write/Generate Rewrite a blog post for social media
- **[Cuisine questions](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/answer_question_cuisine_questions.md.txt)**

  <br />

  <br />

  Answer Question Use the provided sources to answer questions about Vietnamese cuisine with citations.
- **[Culinary Dish Classification](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/extract_culinary_dish_classification.md.txt)**

  <br />

  <br />

  Extract Analyze popular Italian pasta by sorting them, identifying key ingredients, and presenting in a requested format.
- **[Classify help tickets](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/classify_classify_help_tickets.md.txt)**

  <br />

  <br />

  Classify Label help tickets with custom categories using examples.
- **[Customer review summarization](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/summarize_customer_review_summarization.md.txt)**

  <br />

  <br />

  Summarize Summarize and assign a sentiment to customer restaurant reviews.
- **[Customer Service Assistance](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/answer_question_customer_service_assistance.md.txt)**

  <br />

  <br />

  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](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/transform_data_science_learning_plan.md.txt)**

  <br />

  <br />

  Transform Create a tailored data science learning plan with specific resources for a user with given background, interests, and goals.
- **[Data sources and monitoring](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/code_data_sources_and_monitoring.md.txt)**

  <br />

  <br />

  Code Specify different training data and add monitoring.
- **[Debug check sum parity](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/code_debug_check_sum_parity.md.txt)**

  <br />

  <br />

  Code Debug the given C++ code.
- **[Debug nullptr error](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/code_debug_nullptr_error.md.txt)**

  <br />

  <br />

  Code Debug C++ code with explanations.
- **[Describe Python code](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/code_describe_python_code.md.txt)**

  <br />

  <br />

  Code Provide a detailed description of Python timer code.
- **[Describe video content](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/write_and_generate_describe_video_content.md.txt)**

  <br />

  <br />

  Write/Generate Get a description of the contents of a rock climbing video.
- **[Dialog summary](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/summarize_dialog_summary.md.txt)**

  <br />

  <br />

  Summarize Summarize a conversation using examples.
- **[Django form debugging](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/code_django_form_debugging.md.txt)**

  <br />

  <br />

  Code Evaluating Django form-handling code to identify bugs, inefficiencies, and security issues.
- **[Docker script](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/code_docker_script.md.txt)**

  <br />

  <br />

  Code Writing a script in Docker to set up your environment
- **[Document classification](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/classify_document_classification.md.txt)**

  <br />

  <br />

  Classify Find the category of a document among a list of categories.
- **[Document comparison](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/summarize_document_comparison.md.txt)**

  <br />

  <br />

  Summarize Compare the contents of 2 documents
- **[Extract entities from an invoice](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/extract_extract_entities_from_an_invoice.md.txt)**

  <br />

  <br />

  Extract Extract entities from an invoice document and return them in JSON.
- **[Document entity extraction](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/extract_document_entity_extraction.md.txt)**

  <br />

  <br />

  Extract Extract a set of entities from a document and return them in JSON.
- **[Document question answering](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/answer_question_document_question_answering.md.txt)**

  <br />

  <br />

  Answer Question Answer question(s) over a document.
- **[Document summarization](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/summarize_document_summarization.md.txt)**

  <br />

  <br />

  Summarize Summarize the content of a document.
- **[Document translation](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/transform_document_translation.md.txt)**

  <br />

  <br />

  Transform Translate the content of a document.
- **[E-commerce Business Report](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/write_and_generate_e-commerce_business_report.md.txt)**

  <br />

  <br />

  Write/Generate Analyze the product information provided to generate a report based on the category or categories input by the user.
- **[Educational content generator](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/write_and_generate_educational_content_generator.md.txt)**

  <br />

  <br />

  Write/Generate This model is helping teachers with generating topics, open-ended and closed-ended multiple choice questions.
- **[Educational Lesson Planning](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/write_and_generate_educational_lesson_planning.md.txt)**

  <br />

  <br />

  Write/Generate The prompt creates an engaging and grade level appropriate lesson plan for teachers.
- **[English text sample](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/transform_english_text_sample.md.txt)**

  <br />

  <br />

  Transform English text sample
- **[European Travel Itinerary](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/write_and_generate_european_travel_itinerary.md.txt)**

  <br />

  <br />

  Write/Generate The prompt guides the model to create a European travel itinerary with requests from the user.
- **[Explain a SQL function](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/code_explain_a_sql_function.md.txt)**

  <br />

  <br />

  Code Explain a SQL code snippet.
- **[Explain JavaScript code](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/code_explain_javascript_code.md.txt)**

  <br />

  <br />

  Code Walking through Javascript code block
- **[Extract from earnings report](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/extract_extract_from_earnings_report.md.txt)**

  <br />

  <br />

  Extract Extract insights of an earnings report.
- **[Extract dates \& events](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/extract_extract_dates__and__events.md.txt)**

  <br />

  <br />

  Extract Extract dates and description of events in chronological order from a paragraph.
- **[Extract information from a chart](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/extract_extract_information_from_a_chart.md.txt)**

  <br />

  <br />

  Extract Generate a description of a diagram, so that it can be indexed and searched over.
- **[Extract text from images](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/extract_extract_text_from_images.md.txt)**

  <br />

  <br />

  Extract Transcribe text from a handwritten note.
- **[Extract video chapters](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/extract_extract_video_chapters.md.txt)**

  <br />

  <br />

  Extract Extract the chapters in a video as structured JSON
- **[Fill an empty form](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/write_and_generate_fill_an_empty_form.md.txt)**

  <br />

  <br />

  Write/Generate Automatically fill a form field in a target form from a source document.
- **[Financial QA - Deductive](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/answer_question_financial_qa_-_deductive.md.txt)**

  <br />

  <br />

  Answer Question Ask deductive questions about a (long) financial document.
- **[Financial QA - Extractive](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/answer_question_financial_qa_-_extractive.md.txt)**

  <br />

  <br />

  Answer Question Ask extractive questions about a (long) financial document.
- **[Financial table summarization](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/summarize_financial_table_summarization.md.txt)**

  <br />

  <br />

  Summarize Summarize key insights from a financial report table with heavy numerical info.
- **[Translation](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/transform_translation.md.txt)**

  <br />

  <br />

  Transform Translate text from English to French
- **[Generate a web form](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/code_generate_a_web_form.md.txt)**

  <br />

  <br />

  Code Generate a modern Web form using HTML and Javascript.
- **[Generate C++ test cases](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/code_generate_c++_test_cases.md.txt)**

  <br />

  <br />

  Code Validate the behavior of a C++ class using varied assertions
- **[Generate code from comments](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/code_generate_code_from_comments.md.txt)**

  <br />

  <br />

  Code Generate Java code from natural-language comments
- **[Generate Go commit message](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/code_generate_go_commit_message.md.txt)**

  <br />

  <br />

  Code Create a conventional commit message for Golang changes.
- **[Generate Java changelogs](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/code_generate_java_changelogs.md.txt)**

  <br />

  <br />

  Code Generate a concise code change-log entry based on a diff file for Java code.
- **[Generate Java classes](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/code_generate_java_classes.md.txt)**

  <br />

  <br />

  Code Create an interface and class implementation in Java.
- **[Generate Java unit tests](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/code_generate_java_unit_tests.md.txt)**

  <br />

  <br />

  Code Generate unit tests for legacy Java code
- **[Generate Python docstrings \& comments](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/code_generate_python_docstrings__and__comments.md.txt)**

  <br />

  <br />

  Code Generate docstrings and comments for Python functions.
- **[Generate quick sort unit test](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/code_generate_quick_sort_unit_test.md.txt)**

  <br />

  <br />

  Code Generate unit tests for a given Python function.
- **[Generate search tree tests](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/code_generate_search_tree_tests.md.txt)**

  <br />

  <br />

  Code Create unit tests with edge cases for binary search trees
- **[Generate Social Media Contents](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/summarize_generate_social_media_contents.md.txt)**

  <br />

  <br />

  Summarize Provide an attractive caption and hashtags of your video for social media.
- **[Generate SQL query](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/code_generate_sql_query.md.txt)**

  <br />

  <br />

  Code Generate a SQL query to count and sort unique logins in the last month
- **[Hashtag tokenization](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/summarize_hashtag_tokenization.md.txt)**

  <br />

  <br />

  Summarize Create and tokenize hashtags.
- **[Hedge unanswerable question](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/extract_hedge_unanswerable_question.md.txt)**

  <br />

  <br />

  Extract Ask an unanswerable question to the model.
- **[Homework](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/answer_question_homework.md.txt)**

  <br />

  <br />

  Answer Question Solve a math question
- **[Hotel brand strategy](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/write_and_generate_hotel_brand_strategy.md.txt)**

  <br />

  <br />

  Write/Generate Create a brand strategy for a boutique hotel chain for book lovers
- **[Hurricane chart identification](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/answer_question_hurricane_chart_identification.md.txt)**

  <br />

  <br />

  Answer Question Identify elements of a hurricane chart
- **[Few shot image to JSON](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/answer_question_few_shot_image_to_json.md.txt)**

  <br />

  <br />

  Answer Question Use world knowledge and the provided examples to answer questions.
- **[Image question answering](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/answer_question_image_question_answering.md.txt)**

  <br />

  <br />

  Answer Question Show the model an image of a fruit and find the price from another image.
- **[Image text to JSON](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/extract_image_text_to_json.md.txt)**

  <br />

  <br />

  Extract Extract the items and prices from a fish market photo and output them in JSON.
- **[Interview Prep QA](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/answer_question_interview_prep_qa.md.txt)**

  <br />

  <br />

  Answer Question This model helps prepare interviewers for various different interviews.
- **[Interview questions](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/write_and_generate_interview_questions.md.txt)**

  <br />

  <br />

  Write/Generate Create interview questions based on a job title.
- **[Japanese text sample](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/transform_japanese_text_sample.md.txt)**

  <br />

  <br />

  Transform Japanese text sample
- **[JavaScript physics simulation](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/code_javascript_physics_simulation.md.txt)**

  <br />

  <br />

  Code Modifying and explaining a JavaScript marble simulation.
- **[Learn about dataset transformations](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/code_learn_about_dataset_transformations.md.txt)**

  <br />

  <br />

  Code Understand preprocessing, balancing, stratification, and dataset suitability for machine learning.
- **[Legal QA - Extractive](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/answer_question_legal_qa_-_extractive.md.txt)**

  <br />

  <br />

  Answer Question Ask extractive questions about a (long) legal document.
- **[Logo Detection](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/extract_logo_detection.md.txt)**

  <br />

  <br />

  Extract Extract general Logos' appearance in the video with timestamps.
- **[Marketing content generator](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/write_and_generate_marketing_content_generator.md.txt)**

  <br />

  <br />

  Write/Generate This prompt generates an article promoting a brand using a famous person and a pet.
- **[Product announcement](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/write_and_generate_product_announcement.md.txt)**

  <br />

  <br />

  Write/Generate Write a marketing announcement highlighting product features.
- **[Mathematical Reasoning](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/answer_question_mathematical_reasoning.md.txt)**

  <br />

  <br />

  Answer Question Solve a math question
- **[Modify tone \& writing style](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/write_and_generate_modify_tone__and__writing_style.md.txt)**

  <br />

  <br />

  Write/Generate Change the tone and writing style of a blurb.
- **[Creative naming](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/write_and_generate_creative_naming.md.txt)**

  <br />

  <br />

  Write/Generate Generate an interesting name for a store.
- **[Nonprofit Media Assistance](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/answer_question_nonprofit_media_assistance.md.txt)**

  <br />

  <br />

  Answer Question A media relations bot provides talking points extracted from a year-end report.
- **[Classify objects](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/classify_classify_objects.md.txt)**

  <br />

  <br />

  Classify Label objects with custom categories using examples.
- **[Optimize uniqueness check](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/code_optimize_uniqueness_check.md.txt)**

  <br />

  <br />

  Code Optimize the generation of unique identifiers.
- **[Organize viewpoints and examples](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/extract_organize_viewpoints_and_examples.md.txt)**

  <br />

  <br />

  Extract Extract main viewpoints and examples into a table, given the provided template and user input.
- **[Personalized development suggestions](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/transform_personalized_development_suggestions.md.txt)**

  <br />

  <br />

  Transform Generate tailored educational and professional development suggestions in JSON format based on provided personal profile data.
- **[Pet/animal needs](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/write_and_generate_pet_animal_needs.md.txt)**

  <br />

  <br />

  Write/Generate Help pet owners with their pets
- **[Tech specs](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/extract_tech_specs.md.txt)**

  <br />

  <br />

  Extract Generate technical specifications in JSON format.
- **[Predicting revenue](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/code_predicting_revenue.md.txt)**

  <br />

  <br />

  Code Train and evaluate a Random Forest model using sales data.
- **[Procedural to OOP refactoring](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/code_procedural_to_oop_refactoring.md.txt)**

  <br />

  <br />

  Code Convert procedural code to an object-oriented design
- **[Product Advertisement Ideas](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/write_and_generate_product_advertisement_ideas.md.txt)**

  <br />

  <br />

  Write/Generate Decide on the best advertising method for the user-input product/company
- **[Product description classification](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/classify_product_description_classification.md.txt)**

  <br />

  <br />

  Classify Name and categorize shoes in JSON format.
- **[Product Detection](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/extract_product_detection.md.txt)**

  <br />

  <br />

  Extract Extract a specific retail product with the reference image in the video with timestamps.
- **[Python algorithm](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/code_python_algorithm.md.txt)**

  <br />

  <br />

  Code Generate codes for algorithm using context clues.
- **[Python/ data science explanation](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/code_python__data_science_explanation.md.txt)**

  <br />

  <br />

  Code Describe how Python code retrieves and visualizes data.
- **[Python from documentation](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/code_python_from_documentation.md.txt)**

  <br />

  <br />

  Code Generate a Python function given its docstring
- **[Python visualization](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/code_python_visualization.md.txt)**

  <br />

  <br />

  Code Write Python code to visualize a weighted directed graph with example data
- **[Question answering about a chart](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/answer_question_question_answering_about_a_chart.md.txt)**

  <br />

  <br />

  Answer Question Answer questions by analyzing a simple line chart.
- **[Question answering about an image](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/answer_question_question_answering_about_an_image.md.txt)**

  <br />

  <br />

  Answer Question Answer knowledge-extensive questions about an image
- **[Refactoring Python code](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/code_refactoring_python_code.md.txt)**

  <br />

  <br />

  Code Refactor Python code for better modularity and add functionality.
- **[Regex completion and explanation](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/code_regex_completion_and_explanation.md.txt)**

  <br />

  <br />

  Code Implement regex-based sentence splitting for function completion.
- **[Regexed](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/code_regexed.md.txt)**

  <br />

  <br />

  Code Convert natural language queries and constraints to regex constructs
- **[Research assistant](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/answer_question_research_assistant.md.txt)**

  <br />

  <br />

  Answer Question Understand the key attributes of the research paper's methodology
- **[Rules' Effect on Profits](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/write_and_generate_rules__effect_on_profits.md.txt)**

  <br />

  <br />

  Write/Generate Generate content for a section of a college sports management textbook.
- **[Scene Improvement for Scriptwriting](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/write_and_generate_scene_improvement_for_scriptwriting.md.txt)**

  <br />

  <br />

  Write/Generate The model acts as a chatbot that helps improve scripts for television and film.
- **[Screenwriting](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/write_and_generate_screenwriting.md.txt)**

  <br />

  <br />

  Write/Generate The prompt instructs the model to outline a movie plot and generate character ideas.
- **[Sentiment analysis](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/classify_sentiment_analysis.md.txt)**

  <br />

  <br />

  Classify Assign a positive or negative sentiment to text.
- **[Person sentiment](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/classify_person_sentiment.md.txt)**

  <br />

  <br />

  Classify Assign a positive or negative sentiment to a person in a news article.
- **[Skin care questions](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/answer_question_skin_care_questions.md.txt)**

  <br />

  <br />

  Answer Question Use only the provided sources to answer questions without citations.
- **[Speech Writing](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/write_and_generate_speech_writing.md.txt)**

  <br />

  <br />

  Write/Generate A speech must be written adhering to the information input by the user.
- **[SQL query explanation](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/code_sql_query_explanation.md.txt)**

  <br />

  <br />

  Code Explain the components of two SQL queries, compare outputs, and assess efficiency.
- **[Stock price table as JSON](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/extract_stock_price_table_as_json.md.txt)**

  <br />

  <br />

  Extract Generate key information from a stock data table and return as JSON
- **[Summarization of reviews](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/write_and_generate_summarization_of_reviews.md.txt)**

  <br />

  <br />

  Write/Generate Summarize reviews to understand pros and cons of businesses and provide relevant advice.
- **[Summarize hotel reviews](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/summarize_summarize_hotel_reviews.md.txt)**

  <br />

  <br />

  Summarize Summarize the pros and cons from a set of hotel reviews.
- **[Article summary](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/summarize_article_summary.md.txt)**

  <br />

  <br />

  Summarize Summarize a news article.
- **[Summarize video](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/summarize_summarize_video.md.txt)**

  <br />

  <br />

  Summarize Summarize a video and extract important dialogue.
- **[Support chat summary](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/summarize_support_chat_summary.md.txt)**

  <br />

  <br />

  Summarize Summarize a customer support call.
- **[Support chat summary - French](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/summarize_support_chat_summary_-_french.md.txt)**

  <br />

  <br />

  Summarize Summarize a customer support chat in French.
- **[Swimming Q\&A](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/answer_question_swimming_q_and_a.md.txt)**

  <br />

  <br />

  Answer Question Questions \& answers about learning swimming.
- **[Synopsis assistance for writers](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/write_and_generate_synopsis_assistance_for_writers.md.txt)**

  <br />

  <br />

  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](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/answer_question_table_parsing_from_document.md.txt)**

  <br />

  <br />

  Answer Question Extract a table from a document and return it in a structured format (e.g., HTML).
- **[Teaching Python decorators](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/code_teaching_python_decorators.md.txt)**

  <br />

  <br />

  Code Identify and explain the decorators in code.
- **[Classify text](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/classify_classify_text.md.txt)**

  <br />

  <br />

  Classify Label short-form text with custom categories using examples.
- **[Title generation](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/summarize_title_generation.md.txt)**

  <br />

  <br />

  Summarize Create a title for an article using examples.
- **[Transcript summary](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/summarize_transcript_summary.md.txt)**

  <br />

  <br />

  Summarize Summarize a transcript using examples.
- **[Translate C++ to Java](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/code_translate_c++_to_java.md.txt)**

  <br />

  <br />

  Code Convert C++ code to Java while preserving functionality
- **[Travel tips](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/write_and_generate_travel_tips.md.txt)**

  <br />

  <br />

  Write/Generate The user wants the model to help a new traveler with travel tips for traveling.
- **[Typescript migration](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/code_typescript_migration.md.txt)**

  <br />

  <br />

  Code Translate JavaScript to TypeScript.
- **[User query assistance](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/extract_user_query_assistance.md.txt)**

  <br />

  <br />

  Extract This prompt uses website help center text to help users find answers to questions.
- **[Vacation Planning](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/write_and_generate_vacation_planning.md.txt)**

  <br />

  <br />

  Write/Generate The model's goal is helping a client plan a family vacation.
- **[Video Ad script writer](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/write_and_generate_video_ad_script_writer.md.txt)**

  <br />

  <br />

  Write/Generate Write social media style video ad scripts
- **[Video game categories](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/classify_video_game_categories.md.txt)**

  <br />

  <br />

  Classify This is a multi-use prompt for generating terms and definitions and then placing them into categories.
- **[Video Q\&A](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/answer_question_video_q_and_a.md.txt)**

  <br />

  <br />

  Answer Question Answer questions about the key moments in the video.
- **[Video QA - exercise](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/answer_question_video_qa_-_exercise.md.txt)**

  <br />

  <br />

  Answer Question Get the activity that's being performed in an exercise video by asking a question.
- **[Vocabulary Quiz Administrating Bot](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/write_and_generate_vocabulary_quiz_administrating_bot.md.txt)**

  <br />

  <br />

  Write/Generate Generate quizzes about vocabulary words.
- **[Troubleshoot](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/extract_troubleshoot.md.txt)**

  <br />

  <br />

  Extract Suggest a solution to a technical issue using help documentation.
- **[Troubleshoot - German](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/extract_troubleshoot_-_german.md.txt)**

  <br />

  <br />

  Extract Suggest a solution to a technical issue using help documentation in German.
- **[Write story from image](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/write_and_generate_write_story_from_image.md.txt)**

  <br />

  <br />

  Write/Generate Write a story based on the image of a dog in the snow wearing ski goggles.
- **[Writing Assistant](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/write_and_generate_writing_assistant.md.txt)**

  <br />

  <br />

  Write/Generate Help turn a document into an engaging presentation.
- **[Writing Critique](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/prompt-gallery/samples/write_and_generate_writing_critique.md.txt)**

  <br />

  <br />

  Write/Generate Help improve the quality of a presentation.