❗️ Command Types

Command types in prompt engineering are crucial in shaping the structure and nature of responses from large language models. The right choice of command type is key to achieving specific outcomes and enhancing the quality of interactions with LLMs.

Command Type Function Ideal Use Example Starters
Open-Ended Encourages comprehensive and in-depth exploration Suitable for theoretical discussions or broad analysis “Explain…”, “Describe…”, “Elaborate on…”
Directive Elicits concise, specific, and factual information Ideal for straightforward answers or instructional content “List…”, “Identify…”, “Show…”, “Calculate…”
Explorative Promotes creative thinking and speculative responses Best for brainstorming, hypothetical scenarios, or innovative ideas “Imagine…”, “Predict…”, “What if…”

Open-Ended Commands

  • Structure: Begin with phrases like “Discuss,” “Explore,” or “Elaborate on.”
  • Purpose: Encourage detailed responses.
  • Key Technique: Frame prompts to be broad yet focused.

Open-Ended Command Example

Discuss the implications of easy social media access on digital marketing, focusing on potential cons and the need for other marketing approaches as well.

Directive Commands

  • Structure: Start with clear verbs like “List,” “Describe,” “Compare.”
  • Objective: Obtain factual and direct information.
  • Key Technique: Be specific to direct the LLM towards precise answers.

Directive Command Example

List the steps involved in the hiring a new HR team, detailing the role of each member in the team.

Explorative Commands

  • Structure: Use starters like “Imagine,” “Predict,” or “What if.”
  • Goal: Invite creative responses.
  • Key Technique: Maintain openness for innovative ideas.

Explorative Command Example

Imagine a future where AI personal assistants are as common as smartphones. Predict how this might transform daily life, particularly in terms of personal productivity and leisure activities.