Please enable JavaScript.
Coggle requires JavaScript to display documents.
Prompt Engineering Technique - Coggle Diagram
Prompt Engineering Technique
Prompt engneering
is about taking a prompt you've written and improving it to get more reliable, higher-quality outputs
About the process
iteration
refinement
start with basic prompt
Evaluate performance
Apply tecniques to improve it
Iterative improvement process
Evaluate the prompt
Apply prompt engineering techniques
Write an initial prompt
Re-evaluate
Set a goal
Be clear and direct
Clear
Use simple language
State what you want explicitly
Direct
Use instructions, not questions
Use verbs
Being specific
Be specific about what you want
Don't leave it to the model interpretation
Add guidelines
Types
Provide steps the model should follow
List qualities that the output should have
Output quality guidelines
Structure and format
Specific attributes or elements to include
Lenght of the response
Tone or style requirements
Process Steps
Throubleshooting hard problems
decision making
Critical thinking
Provider structure using XML tags
Most useful when including a lot of context
Help serve as delimiters for claude
Provide examples inside prompts
This approach, known as "one-shot" or "multi-shot" prompting, involves giving Claude sample input/output pairs to guide its responses.