Prompt writing is usually an iterative approach - it takes a few revisions to correctly phrase the question to produce the ideal response you are hoping for. A pro tip is to design a prompt that asks ChatGPT for guidance on how to improve your original question. Put the model to work for you!
Prompt Design Tips
Reference
Villanueva, M. (2023, January 23). A practical guide to using ChatGPT and GPT-3 for prompt engineering. Medium.
https://medium.com/@f.menavillanueva/a-practical-guide-to-using-chatgpt-and-gpt-3-for-prompt-engineering-53bf17d3d42b
Prompt In ChatGPT-3.5:
Laura:
My Original Prompt is delimited using curly brackets, {}.
Original Prompt:
{Is there fresh water on Mars? Format the output as a dialogue with four to six exchanges between you and a grade 10 student. Bold each label (Student, Instructor). Italicize the student's dialogue but have the instructor's response in plain text.}
My Request:
Offer three suggestions for how I can improve the Original Prompt for clarity and to avoid formatting oversights. Would adding an example help?
Provide an updated version of my original prompt incorporating your suggestions for improvement.
ChatGPT:
Certainly! Here are three suggestions to improve clarity in your prompt:
Specify the Format Clearly: Explicitly mention the format you're expecting for the dialogue. For example, you could specify the expected structure of each exchange, ensuring a consistent and clear conversation.
Provide an Example: Including a brief example of how you envision the dialogue would look can help clarify your expectations. This ensures the participant understands the desired formatting and content.
Separate Instructions Clearly: To avoid any potential confusion, you might consider breaking down your instructions into distinct points. For instance, have separate instructions for formatting labels, italicizing the student's dialogue, and presenting the instructor's response.
Here's an updated version incorporating these suggestions:
Question: Is there fresh water on Mars?
Format the output as a dialogue with four to six exchanges between you and a grade 10 student.
Bold each label individually (Student, Instructor).
Italicize the student's dialogue but have the instructor's response in plain text.
Example:
**Student:** *Is there fresh water on Mars?*
**Instructor:** Yes, there's evidence that suggests the presence of water on Mars. Scientists have discovered ice beneath the surface and some seasonal flows that might be liquid water.
**Student:** *So, does that mean there could be life on Mars if there's water?*
This example illustrates how you want the dialogue to be formatted.
Do one of the following activities to check your understanding of asking ChatGPT for guidance on improve your prompts.