FundamentalsFeaturedUpdated 2026-10-24

Prompt Engineering

Designing instructions, examples and constraints so a model reliably produces the desired output.

#提示词#基础#技巧

In plain language

Prompt engineering is not magic words; it is clearly specifying goals, context, output format and boundaries. Common techniques include role setting, few-shot examples, step-by-step reasoning, structured output and self-checks. Complex tasks also need tools, retrieval and evaluation.

Example

Change write some copy into three Xiaohongshu headlines under 20 characters for junior operators, in an honest tone.

Recommended tools

Related terms