Skip to content

Prompt Engineering

Definition
AI-generated

Prompt engineering is the practice of designing inputs (instructions, examples, format constraints) to steer a language model toward reliable outputs without changing its weights—often using role prompts, few-shot demonstrations, or structured templates.

Why it matters in GWAS

Clear prompts improve reproducibility when using LLMs for tasks such as harmonizing trait descriptions, formatting citations, or generating analysis checklists; versioning prompts alongside code is as important as versioning software.

Example usage

"The methods explicitly include Prompt Engineering to support interpretation of the main findings."

References

  • Liu P, et al. (2023). Pre-train, prompt, and predict: a systematic survey of prompting methods in natural language processing. ACM Comput Surv.

Last updated (UTC · Git history)