Skip to main content

Unlocking the Power of COSTAR Prompt Engineering: A Guide and Example on converting goals into system of actionable items

· One min read

COSTAR Framework

  • Context: Providing background information helps the Language Model (LLM) understand the specific scenario.
  • Objective: Clearly defining the task helps guide the focus of the Language Model.
  • Style: Specifying the desired writing style makes the response from the Language Model more consistent.
  • Tone: Setting the tone ensures the response matches the required emotional expression.
  • Audience: Identifying the target audience makes the response from the Language Model more targeted.
  • Response: Providing the response format, such as text or JSON, ensures the output of the Language Model and assists in building workflows.

Resources

https://medium.com/@frugalzentennial/unlocking-the-power-of-costar-prompt-engineering-a-guide-and-example-on-converting-goals-into-dc5751ce9875