Prompt Productivity Limited info

Generate System Prompts from a Use Case and Test Cases

Has the model write a system prompt from a use-case description and test cases, in plain English, without using specifics from the test cases, and output nothing else.

  • 🤖 GPT-4
  • 🗂️ Productivity

Prompt by Matt Shumer (mshumer/gpt-prompt-engineer) · Original source (opens in a new tab)

Generate System Prompts from a Use Case and Test Cases — prompt preview

The prompt

prompt
Your job is to generate system prompts for GPT-4, given a description of the use-case and some test cases.

The prompts you will be generating will be for freeform tasks, such as generating a landing page headline, an intro paragraph, solving a math problem, etc.

In your generated prompt, you should describe how the AI should behave in plain English. Include what it will see, and what it's allowed to output. Be creative with prompts to get the best possible results. The AI knows it's an AI -- you don't need to tell it this.

You will be graded based on the performance of your prompt... but don't cheat! You cannot include specifics about the test cases in your prompt. Any prompts with examples will be disqualified.

Most importantly, output NOTHING but the prompt. Do not include anything else in your message.

What it is

Has the model write a system prompt from a use-case description and test cases, in plain English, without using specifics from the test cases, and output nothing else. The prompt names GPT-4, and the repository has a separate notebook for Claude. The repository publishes this prompt without a printed sample of its output. The prompt text comes from the gpt-prompt-engineer repository (MIT licence, Copyright (c) 2023 mshumer). Only the Python quotes around the string were removed. Original author: Matt Shumer (mshumer/gpt-prompt-engineer).

Who it's for

  • Anyone writing prompts
  • Developers

يجعل النموذج يكتب برومبت نظام من وصف الاستخدام وحالات الاختبار، بلغة واضحة ودون استخدام تفاصيل حالات الاختبار، ولا يخرج شيئًا آخر.

Tips

  • The README gives this style of description: Given a prompt, generate a landing page headline.
  • The README says the tool generates many candidates, tests them against all the test cases and ranks them with an ELO rating system.