-
7
Gems
6570
Points
Basic Principles of Prompt Engineering 1. Clarity and Specificity
- Be clear about what you want.
- Specify format, length, tone, or style if needed.
Example:
- Vague: “Tell me about climate change.”
- Clear: “Summarize the main causes of climate change in three bullet points.”
2. Contextualization
- Provide background or context to help the model understand your intent.
Example:
- “As a financial analyst, explain the impact of inflation on bond prices.”
3. Instruction and Constraints
- Use explicit instructions or constraints to guide the response.
Example:
- “List three pros and three cons of remote work.”
4. Iterative Refinement
- Test and tweak your prompts based on the outputs.
- Adjust wording, add details, or break complex tasks into steps.