- metadata:
- tags: #IT/Software/chatGPT
- related:
Here is a formula for a perfect prompt.
```chatGPT
[Context] +
[Specific Information] +
[Intent/Goal] +
[Response Format (if needed)]
=
Perfect Prompt
```
1. **Be Specific**: If you ask a vague question, you may get a vague answer. The more details you provide, the better the model can give you what you're looking for.
Instead of "tell me about all dog breeds that exist," ask "What are the different breeds of small dogs suitable for apartment living?"
2. **State Your Intent**: If there's a specific purpose for your question, state it in the prompt. For example, instead of asking "explain quantum physics" you could say "I'm helping my fifth-grade son with his science homework. Could you explain quantum physics in a simple way?"
3. **Use Correct Spelling and Grammar**: While the model can often interpret and correct spelling and grammar mistakes, providing clear and correct prompts helps ensure you get the best response.
4. **Direct the Output Format**: If you want the answer in a specific format, state it in your question. For example, you could ask "Could you list the steps to bake a chocolate cake?" or "Could you explain the process of baking a chocolate cake in a paragraph?"
5. **Ask Follow-Up Questions**: If the response wasn't what you expected or if you need more information, feel free to ask follow-up questions to clarify.
6. **Experiment with Different Phrasings**: If you're not getting the response you want, try asking the question in a different way. The model might understand one phrasing better than another.
7. **Prompt for Fact-Checking**: If you're looking for reliable information, you can ask the model to provide sources or to fact-check information. For example,
"Can you fact-check this statement: The tallest mountain in the world is Mount Everest?"
further learnings:
- prompt priming
-