Skip to main content
v2026.11,610 entries · CC-BY 4.0
Dictionary termTrack AStablev2026.2

Prompt engineering

The practice of designing, refining, and structuring input text given to a generative AI system in order to elicit specific desired outputs, including techniques such as role assignment, few-shot examples, chain-of-thought scaffolding, and output-format specification.

ByCASRAI Editorial Board
· Last updated 21 May 2026

Ask about Prompt engineering

Answers are drawn from this dictionary entry and the rest of the CASRAI corpus, with a link to every source.

Answers are AI-generated from CASRAI’s own published pages and can be wrong, so check the linked sources before relying on one; your question is logged without personal data — never sold, never used to train a third-party model — to show us what CASRAI is missing, so please do not type personal or confidential details. How we use this

Examples

Worked examples

  • Is an instance

    Specifying 'You are a careful systematic reviewer. List inclusion criteria first, then…' to structure an LLM literature triage

Counter-examples

Looks similar, but isn't

  • Not an instance

    Typing a single-word query into a chatbot is using an LLM but is not prompt engineering in the disciplined sense

Editorial commentary

For reproducibility in scholarly work, prompts that produced reported AI outputs should be archived alongside outputs. Prompt engineering is itself a human intellectual contribution that may merit acknowledgement when central to a result, but does not by itself confer authorship of AI-generated text.

References

  • Wei et al. 2022 ‘Chain-of-Thought Prompting’ NeurIPS
  • OpenAI Prompt Engineering Guide

Also known as

Prompt design · Prompting

Machine-readable encodings

Use in your systems

JATS XML <role> element
xml
<role vocab="credit"
      vocab-identifier="https://casrai.org/dictionary/"
      vocab-term="Prompt engineering"
      vocab-term-identifier="https://casrai.org/dictionary/term/prompt-engineering" />
Schema.org DefinedTerm (JSON-LD)
json
{
  "@context": "https://schema.org",
  "@type": "DefinedTerm",
  "@id": "https://casrai.org/dictionary/term/prompt-engineering",
  "name": "Prompt engineering",
  "identifier": "https://casrai.org/dictionary/term/prompt-engineering",
  "description": "The practice of designing, refining, and structuring input text given to a generative AI system in order to elicit specific desired outputs, including techniques such as role assignment, few-shot examples, chain-of-thought scaffolding, and output-format specification.",
  "inDefinedTermSet": "https://casrai.org/dictionary/domain/genai-disclosure#set",
  "url": "https://casrai.org/dictionary/term/prompt-engineering",
  "sameAs": [
    "Prompt design",
    "Prompting"
  ],
  "license": "https://creativecommons.org/licenses/by/4.0/",
  "publisher": {
    "@id": "https://casrai.org/#organization"
  },
  "dateModified": "2026-05-21T01:54:45",
  "inLanguage": "en"
}

Referenced across the research world

University of Cambridge logoColumbia University logoCrossref logoUniversity of Edinburgh logoHarvard University logoUniversity of Oxford logoPrinceton University logoStanford School of Medicine logoUniversity College London logoORCID logoUniversity of Cambridge logoColumbia University logoCrossref logoUniversity of Edinburgh logoHarvard University logoUniversity of Oxford logoPrinceton University logoStanford School of Medicine logoUniversity College London logoORCID logo
  • University of Cambridge logo
  • Columbia University logo
  • Crossref logo
  • University of Edinburgh logo
  • Harvard University logo
  • University of Oxford logo
  • Princeton University logo
  • Stanford School of Medicine logo
  • University College London logo
  • ORCID logo

View CASRAI adoption →