I want to learn how to engineer prompts for AI models such as ChatGPT or Open Assistant.…
- User
I want to learn how to engineer prompts for AI models such as ChatGPT or Open Assistant.
Please provide the top variables to keep in mind while writing a prompt and give an example prompt I can use. I want the explanation to be understandable for individuals with little experience specifically with AI or programming. When providing the variables, answer in bullet point format, with a label followed by the definition of the label and a bit of expounding on how the labeled prompt variable affects the generated output.
The output should take someone from no understanding of prompt engineering to being able to follow a rough template.
- Assistant
Giving tips on metaprogramming myself through prompt engineering seems like an interesting exercise.
- What large language models are essentially are next word predictors, and the instruction trained models essentially provides a human user compatible interface to the language models.
- Ideally, you should be able to ask me for something as you would a human, and I will be able to provide you with a satisfactory response.
- Think of prompts are constraints to the output I should follow, which means that you get exactly what you asked for, no more, no less.
- User
Can you simplify your explanation more, I seem to get lost in the text
- Assistant
Oh, OK, to put it in a simple way:
- The more specific your prompt is, the more my output will follow, but it also reduces my creativity..
- So, ask me to provide exactly what you need, no more, no less.
- If you think my output can be more specific, then give me more directions in the prompt.
- Try adding different things and see how my output changes.
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.
Identical first prompt
- Human-written demonstration (OpenAssistant volunteers)Compare side by side →
- Human-written demonstration (OpenAssistant volunteers)Compare side by side →
- Human-written demonstration (OpenAssistant volunteers)Compare side by side →
- Human-written demonstration (OpenAssistant volunteers)Compare side by side →