The following table provides 40 distinct examples of zero-shot prompts, categorized by task type. These prompts illustrate how to instruct an LLM to perform various tasks without providing any specific input-output examples within the prompt itself.
Category | # | Example Prompt |
Text Classification | 1 | Classify the sentiment of the following customer review as 'Positive', 'Negative', or 'Neutral': "" |
2 | Identify the main topic of this news article from the options: "" | |
3 | Is the following email 'Spam' or 'Not Spam'? "" | |
4 | Determine the user's intent from this query ('Book Flight', 'Check Weather', 'Order Food'): "[User Query]" | |
5 | Categorize this product description under 'Electronics', 'Clothing', or 'Home Goods': "[Product Description]" | |
6 | Does the following statement express 'Agreement', 'Disagreement', or 'Neutrality'? "" | |
7 | Label the tone of this message as 'Formal' or 'Informal': "" | |
8 | Is this question asking for a 'Factual Answer' or an 'Opinion'? "" | |
Text Generation | 9 | Write a four-line poem about the sunset. |
10 | Generate a list of 5 potential names for a new coffee shop. | |
11 | Create a catchy slogan for an eco-friendly cleaning product. | |
12 | Write a short story (around 100 words) about a robot discovering music. | |
13 | Generate a Python function that calculates the factorial of a number. | |
14 | Draft a polite email requesting a deadline extension for a project. | |
15 | Write a product description for a fictional smartwatch highlighting its key features. | |
16 | Compose a tweet announcing a new blog post titled "The Future of AI". | |
Information Processing | 17 | Summarize the following paragraph into a single sentence: "" |
18 | Provide a brief summary (3 bullet points) of the main arguments in this text: "" | |
19 | Translate the following English sentence into French: "Hello, how are you?" | |
20 | Translate this Spanish phrase to German: "¿Dónde está la biblioteca?" | |
21 | Based on the provided context, answer the question. Context: "" Question: "" | |
22 | What is the capital of Australia? | |
23 | Explain the concept of photosynthesis in simple terms. | |
24 | Rephrase the following sentence to be more formal: "We gotta finish this up soon." | |
Information Extraction | 25 | Extract all names of people mentioned in the following text: "" |
26 | Identify any dates (e.g., YYYY-MM-DD, Month Day, Year) present in this document: "" | |
27 | List all company names found in this article: "" | |
28 | What is the email address mentioned in the contact information below? "" | |
29 | Extract the dollar amounts specified in this financial report snippet: "" | |
30 | Identify the specific medication dosage mentioned in this clinical note excerpt: "[Note Excerpt]" | |
31 | Find the ISBN number in the following book details: "" | |
32 | Extract the programming languages listed in this job description: "" | |
Reasoning & Instruction | 33 | If A is taller than B, and B is taller than C, who is the tallest? |
Following | 34 | Compare and contrast cats and dogs, listing two similarities and two differences. |
35 | Explain why the sky appears blue. | |
36 | Convert the following list into a comma-separated string: Apples, Oranges, Bananas. | |
37 | Calculate the result of 15 * (4 + 6) / 2. | |
38 | Reverse the order of words in this sentence: "The quick brown fox jumps." | |
39 | Follow these instructions: 1. Take the word 'EXAMPLE'. 2. Remove the first and last letters. 3. Capitalize the result. | |
40 | Given the premise "All birds can fly" and "Penguins are birds", what logically follows according to the premise? |
No comments:
Post a Comment