Search

Prompt Design and Prompt Engineering

Prompt design and prompt engineering are two closely related concepts in natural language processing. Both involve the process of creating a prompt that is clear, concise, and informative. However, there are some key differences between the two. Prompt design is the process of creating a prompt that is tailored to the specific task that the system is being asked to perform. For example, if the system is being asked to translate a text from English to French, the prompt should be written in English and should specify that the translation should be in French.

Prompt engineering is the process of creating a prompt that is designed to improve performance. This may involve using domain-specific knowledge, providing examples of the desired output, or using keywords that are known to be effective for the specific system. In general, prompt design is a more general concept, while prompt engineering is a more specialized concept. 

Prompt design is essential while prompt engineering is only necessary for systems that require a high degree of accuracy or performance.

Prompt Design Prompt Engineering
  • Focuses on the creative aspect of crafting prompts.
  • Aims to elicit specific responses from a language model.
  • Requires knowledge of the language model’s capabilities and limitations.
  • Often involves trial and error.


Examples:

  • “Write a poem about a lost love.”
  • “Generate a news article about a recent scientific discovery.”
  • Focuses on the technical aspects of manipulating prompts.
  • Aims to optimize prompts for specific tasks or goals.
  • Requires knowledge of machine learning and natural language processing.
  • Often involves experimentation and data analysis.


Examples:

  • Using temperature to control the creativity of the response.
  • Using top-k sampling to generate more diverse responses.
  • Using reinforcement learning to fine-tune prompts for specific tasks.

See Also: Prompt Tuning, Prompt, Completion

<< Return to Glossary

Subscribe to our newsletter

Join over 1,000+ other people who are mastering AI in 2024

You will be the first to know when we publish new articles

Subscribe to our newsletter

Join over 1,000+ other people who are mastering AI in 2024