Switch language한국어
Back to the list

Prompting Styles - Basic

TL;DR AI

Key summary

2 min read
  1. Prompting is how a query is presented to an LLM, shaping how it interprets the task and response.

  2. The article covers common styles: zero-shot, few-shot, system, role-based, and contextual prompting.

  3. Zero-shot gives only the task, few-shot adds examples, and system prompts add rules or constraints.

  4. Role-based prompting assigns a persona, while contextual prompting adds background information to improve relevance.

  5. Prompting style matters because it affects instruction-following, understanding, and output quality.

Read the original