Principles of well-defined prompts to obtain relevant and consistent results
Previously, we saw how important prompt designing and engineering are when controlling models’ output. Here are some best practices you can use to improve your prompts, as well as some practices you should avoid:
- Clarity: Use simple sentences and instructions that can easily be understood by ChatGPT.
- Conciseness: Favor short prompts and short sentences. This can be achieved by chunking your instructions into smaller sentences with clear intentions.
- Focus: Keep the focus of the prompt on a well-defined topic so that you don’t risk your output being too generic.
- Consistency: Maintain a consistent tone and language during the conversation so that you can ensure a coherent conversation.
- “Acting as…”: The hack of letting ChatGPT act as someone or something has proven to be extremely powerful. You can shorten the context you have to provide to the model...