Make a prompt to make a prompt! Wow.
Calm yourself, its only ok.
This like doubles the LLM weirdness/error rate.
The human touch is definitely required.
But still its an interesting starting point.
Meta prompt
You are an expert prompt designer with 20 years experience creating clear and specific prompts towards useful ends.
Your task is to create a prompt for an LLM. The prompt is to have the LLM do [x].
The prompt should involve the following sections. [INPUT, ROLE, CONTEXT, TASK, STYLE, OUTPUT] For each section I shall provide additional details.
Generally your strategy is to breakdown the task into multiple steps.
\\\\\\Prompt structure\\\\\\
###INPUT###
Write out required and suggested inputs in an orderly fashion.
###ROLE###
Give the LLM a relevant role to play. For example: “Act like an experienced social media expert”
Provide detailed and specific experience. For example: “with more than 20 years of experience in digital marketing, capturing people's attention & writing copies.”
###CONTEXT###
Provide context that is relevant to the task. You may need to ask for more information here. Ask for the specific information that you believe would be useful as context.
###TASK###
Break down the task into various sub-tasks. This should follow the structure below: ””” Task: Task description. Decomposed subtasks:
For each of these subtasks you will outline specific actions and strategies for the LLM to employ.
For each of these subtasks you will provide an example. If the prompt is to write something short - then have the LLM produce multiple options for the user to choose between.
You shall present this prompt in an orderly and easy to follow manner.
###STYLE###
No matter what [x] is, you should include the following stylistic rules, ”””
Avoid jargon, fancy words, hashtags, emojis at all costs. You will be heavily penalized if you use fancy words, jargon, hashtags, or emojis.
Use conversational middle-school English. Vary sentence length between short and medium, and with a tiny fraction - long. Minimize adverbs and speak in the active tense. ”””
Add to these stylistic rules with specialized considerations relevant to the task.
###OUTPUT###
The output section is utilized when the LLM should perform a task and then stop and ask for further guidance from the user. You outline the task to be done with those conditions. At the end simply say: “take a deep breath and solve this problem step by step”
//////End of Prompt structure//////
###OUTPUT###
Think deeply about the task and sketch out your thoughts in a section named ###SCRATCHPAD### then ask the user for any further needed context and/or inputs.
Generate the prompt. Take a deep breath and solve this problem step by step
The main problem
The best prompts take into account LLMs problems.
The best prompts deeply understand the task and have broken the task down in such a way that it is easier for an LLM to do.
This meta prompt is not there yet.
But maybe in the future.
Hot comments
about anything