Few-Shot Prompting
Including several examples in the prompt so the model infers the pattern you want.
Few-Shot-Prompting unterrichtet per Demonstration innerhalb des Kontextfensters, ganz ohne Training. Für Konsistenz ist es die wirkungsvollste Prompting-Technik, besonders bei Klassifikation und Formatierung. Wähle Beispiele, die auch die Randfälle abdecken, nicht nur die einfachen — das Modell kopiert alles, was du ihm zeigst, inklusive der Lücken.
In der Praxis: Fünf gelabelte Tickets im Prompt, und die Genauigkeit der Kategorien springt nach oben, ganz ohne Fine-Tuning.
Where this comes up
- Can You Learn Useful AI Skills from an App?
- ChatGPT Help Tips and Tricks in 2026: How to Make ChatGPT More Effective
- Claude Tips and Tricks: 16 Practical Habits for Better Results
- How to Write Better AI Prompts: A Complete Guide
- How to Write Effective Midjourney Prompts
- Prompt Engineering Cheat Sheet: Techniques, Templates and Safety Checks