One of Japan's largest directories x find the right AI in as little as a minute

▶︎ For those who want to list their service

Subscribe to newsletter (free)
Subscribe to newsletter (free)
  1. AI BEST SEARCH
  2. AI Glossary & Keyword Index [AI BEST SEARCH]
  3. Prompt Engineering

Prompt Engineering

Prompt engineering is the practice of designing and refining input text (prompts) to obtain optimal outputs from generative AI systems such as large language models (LLMs) and image generation AI. Because generative AI behavior depends heavily on the input it receives, the way a prompt is written can dramatically change the result. For example, with ChatGPT, adjusting the wording or the order of instructions can significantly affect the quality, style, and level of detail of the response. The main goals of prompt engineering are to guide AI toward desirable behavior, such as: • Producing accurate information (e.g., "Please explain with supporting evidence") • Generating output in a specific format (e.g., "Please respond in JSON format") • Drawing out imagination and creativity (e.g., "Please write a story in the style of a children's picture book") • Encouraging step-by-step reasoning (e.g., "Please think through this one step at a time"—chain of thought) Specific prompt engineering techniques include: • Zero-shot prompting: Giving instructions directly without examples or context • Few-shot prompting: Including examples in the prompt so the model learns the expected output format • Chain-of-thought prompting: Requesting that reasoning steps be written out to enable complex inference • ReAct prompting: Combining reasoning and acting to guide outputs involving tool use or external search Prompt engineering is rapidly gaining importance in business and development settings as the skill of getting the most out of generative AI, and is increasingly recognized as a foundational skill for "prompt designers" and AI practitioners.