File:Algorithmically-generated_landscape_artwork_of_forest_with_Shinto_shrine.png · Wikimedia Commons · See Wikimedia Commons
prompt engineering
Sign in to saveAlso known as prompt-based learning, AI prompt engineering
creation or optimization of a prompt to be given to an artificial intelligence model
Wikidata facts
Show 2 more facts
- Commons category
- Prompt engineering for generative AI
- described at URL
- www.tandfonline.com/doi/full/10.1080/10447318.2024.2431761
Sources (2)
via Wikidata · CC0
~22 min read
Article
Prompt engineering is the process of structuring natural language inputs (known as prompts) to produce specified outputs from a generative artificial intelligence (GenAI) model. Context engineering is the related area of software engineering that focuses on the management of non-prompt contexts supplied to the GenAI model, such as metadata, API tools, and tokens.
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. 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. It is increasingly considered a skill for working with large language models (LLMs) in both research and professional contexts.