Prompt engineering
Prompt engineering is the process of structuring natural language inputs (known as prompts) to produce specified outputs from a generative AI model.[src] Context engineering is the related area of software engineering that focuses on the management of non-prompt and prompt contexts supplied to the GenAI model, such as system instructions, metadata, API tools and tokens.[src] It can also be defined as the practice of designing and refining input instructions given to a generative AI model to produce more accurate, relevant, or useful outputs.[src] Effective prompt engineering involves understanding how a model interprets language, and may include techniques such as few-shot prompting, chain-of-thought prompting, and role assignment.[src] During the 2020s AI boom, prompt engineering became regarded as a business capability across corporations and industries.[src] Employees with the title prompt engineer were hired to create prompts that would increase productivity and efficacy, although the individual title has since become less common amid AI models that produce better prompts than humans and corporate training in prompting for general employees.[src] Common prompting techniques include multi-shot, chain-of-thought, and tree-of-thought prompting, as well as assigning roles to the model.…[src]
Prompt engineering is the process of structuring natural language inputs (known as prompts) to produce specified outputs from a generative AI model.[src] Context engineering is the related area of software engineering that focuses on the management of non-prompt and prompt contexts supplied to the GenAI model, such as system instructions, metadata, API tools and tokens.[src] It can also be defined as the practice of designing and refining input instructions given to a generative AI model to produce more accurate, relevant, or useful outputs.[src] Effective prompt engineering involves understanding how a model interprets language, and may include techniques such as few-shot prompting, chain-of-thought prompting, and role assignment.[src] During the 2020s AI boom, prompt engineering became regarded as a business capability across corporations and industries.[src] Employees with the title prompt engineer were hired to create prompts that would increase productivity and efficacy, although the individual title has since become less common amid AI models that produce better prompts than humans and corporate training in prompting for general employees.[src] Common prompting techniques include multi-shot, chain-of-thought, and tree-of-thought prompting, as well as assigning roles to the model.[src] Automated prompt generation methods, such as retrieval-augmented generation (RAG), provide for greater accuracy and a wider scope of functions for prompt engineers.[src] Prompt injection is a type of cybersecurity attack that targets machine learning models through malicious prompts.[src] A prompt may include a few examples for a model to learn from in-context, an implementation of few-shot learning for LLMs.[src] For example, the prompt may ask the model to complete " maison house, chat cat, chien ", with the expected response being dog.[src]
18 sentences · 18 cited inline · 0 references stored
References
No reference rows published for this article.
Cite this article
MLA
"Prompt engineering." encyclopegia.org, 2026, https://encyclopegia.org/wiki/prompt-engineering. Accessed 29 November 2026.
Chicago
"Prompt engineering." encyclopegia.org. Accessed November 29, 2026. https://encyclopegia.org/wiki/prompt-engineering.
APA
encyclopegia.org. (2026). Prompt engineering. Retrieved November 29, 2026, from https://encyclopegia.org/wiki/prompt-engineering
Accessed November 29, 2026 · CC BY-SA 4.0 · citation page · JSON