Prompt Engineering Guide
Learn how to craft effective prompts for better AI interactions
Role-Based Prompting
Assign specific roles to the AI to get more focused and relevant responses
Expert Consultant
Frame the AI as a subject matter expert in a specific field
Example:
As an experienced financial analyst, analyze these market trends and provide strategic recommendations...
Best Used For:
Getting expert-level analysis and advice
Tips:
- Specify the expert's experience level
- Define the expert's background
- Be clear about the expected output format
Process Guide
Have the AI guide you through a process step by step
Example:
As a master chef, walk me through the process of making a perfect risotto, including common mistakes to avoid...
Best Used For:
Learning new skills or processes
Tips:
- Ask for specific steps
- Request warnings about common pitfalls
- Include checkpoints for verification
Chain of Thought
Guide the AI through a logical reasoning process
Step-by-Step Reasoning
Break down complex problems into smaller steps
Example:
Let's solve this problem step by step:
1. First, let's identify the key variables
2. Then, analyze their relationships
3. Finally, draw conclusions based on...
Best Used For:
Problem-solving and analysis
Tips:
- Number the steps clearly
- Ask for explanations at each step
- Validate intermediate conclusions
Context Setting
Provide clear context and background information
Detailed Background
Provide comprehensive context before the main request
Example:
Context: I'm a startup founder building a SaaS product for project management. Target audience is small businesses. Budget is limited.
Request: Suggest a go-to-market strategy...
Best Used For:
Getting contextually relevant advice
Tips:
- Structure context clearly
- Include relevant constraints
- Specify audience or use case
Output Formatting
Specify exact output formats for structured responses
JSON Template
Request responses in specific JSON format
Example:
Analyze this product and return the results in the following JSON format:
{
"strengths": [],
"weaknesses": [],
"opportunities": [],
"threats": []
}
Best Used For:
Getting structured data for processing
Tips:
- Provide exact format template
- Specify data types if needed
- Include example values