Few-Shot Prompting — teach by example
Give the AI 2-3 input/output examples before your real request to lock in format and style.
Prompting4.5

Prompt template
Here are examples of the output format I want: Input: [example input 1] Output: [example output 1] Input: [example input 2] Output: [example output 2] Now do the same for: Input: [your real input]
How to use
- 1Prepare 2-3 high-quality input/output pairs
- 2Label them 'Input:' and 'Output:' clearly
- 3Place your real request last
- 4Keep all examples in the same format you want returned
Pro tips
- Few-shot beats zero-shot for classification and extraction
- Use the exact template you want the model to mimic
PromptingFormat ControlAutomation
Ratings & Reviews
Loading reviews…
Related Skills

Prompting
Persona Prompting — get consistent, expert-toned answers
Give the AI a role, audience and constraints so every answer comes back in a consistent, professional voice.
PromptingWritingchatgpt
4.7
Prompting
RAG Prompting — retrieval-augmented generation for grounded answers
Combine retrieved context with targeted prompts so the AI answers from your documents instead of hallucinating.
RAGRetrievalGrounding
4.5
Prompting
Structured Output Prompting — reliable JSON, XML, and table extraction
Force the AI to output in a strict schema using explicit format instructions, examples, and validation rules.
JSONStructured OutputParsing
3.9