Prompting Styles - Basic

TL;DR AI
2 min readKey summary
Prompting is how a query is presented to an LLM, shaping how it interprets the task and response.
The article covers common styles: zero-shot, few-shot, system, role-based, and contextual prompting.
Zero-shot gives only the task, few-shot adds examples, and system prompts add rules or constraints.
Role-based prompting assigns a persona, while contextual prompting adds background information to improve relevance.
Prompting style matters because it affects instruction-following, understanding, and output quality.
