Talk

Four Prompting Techniques Guide

From Wikiprompt, the free prompt encyclopedia

Moritz Kremb
Contributed byMoritz KrembXSource

Jul 12, 2023

Four Prompting Techniques Guide A concise guide covering four essential prompting techniques: instruction, role, one-shot, and few-shot prompting, each with use cases and examples.

Prompt ContentSave

🌐
Understanding these 4 prompting techniques will level up your prompting skills: 1. Instruction prompting Most people use this prompting technique by default. It's where you give the AI a straightforward instruction or ask a question. Great for: simple tasks, quick questions Output quality: usually low Example: "What are the best ways to grow my business?" 2. Role prompting Here you assign a specific role to the AI, usually an expert in a particular field. This generates more accurate responses. Great for: domain-specific results Output quality: good Example: "As an expert in copywriting, write a blog post about ..." 3. One-shot prompting Here you insert one example into your prompt, so that the AI model can learn from it and create an output similar to it. Great for: when you have a clear idea what your output should look like Output quality: very good Example: "I want you to help me draft [an email] about [my topic]. You must copy the style and tone of the [example email] pasted below: [Paste example email]" 4. Few-shot prompting Here you feed the AI model with more than one example to learn from. Great for: getting the AI model to learn a certain style of writing Results: very good Example: "You are a headline generator. Learn from the 10 headlines pasted below and generate a new headline for [my topic]. [Paste 10 example headlines]" These techniques can be combined with each other for max results

Sign in to see the full prompt

Continue with:

By logging in, you agree to our Terms of Use and Privacy Policy

Usage

This prompt is designed for use with education. Copy the prompt content above and paste it into your preferred AI tool.

For best results, you may customize the placeholders (indicated by square brackets or capital letters) with your specific requirements.

References

Categories:education| twitter| prompt-engineering| ai-prompting

Talk