How do I create a good prompt for an AI model like GPT-4?

Tips and suggestions to create great prompts for large language models

Updated over a week ago

When thinking about prompt engineering and prompting large language models like GPT-4, it is important to keep in mind how these models work. They are trained on large corpuses of text which includes many examples of how humans interact via text. Because of this, the models often perform best when interacted with as if you are sending another human a request.

For example, if you say "Do this task for me" but don't give a person enough context or details, it is unlikely they will end up doing what you want them to. But if you lay out very detailed instructions in a clear way, the chance of success goes up. This example highlights the important principles of prompt engineering.

If you want to see example prompts, you can also refer to our prompt examples page. We also created an official OpenAI prompt engineering guide which covers more specific strategies in detail.

Finally, we encourage you to visit our community forum, where you can ask questions, share tips, and connect with others interested in prompting OpenAI models.

Did this answer your question?