Prompt engineering

Use prompt engineering when the main problem is evidence rules, reusable prompt workflows, or verification before delivery.

Use this page when the main problem is how to ask the AI: which sources it may use, how to structure the prompt, and how to check the answer before you send it.

Prerequisites

Before you start

  • Know what a good answer looks like for the task.
  • Know how you will check whether the answer is correct.
  • Have a draft prompt or a clear prompting problem to fix.
Scope

When to use prompt engineering

  • Use this page when the main problem is the prompt itself, not product behavior, system orchestration, or API wiring.
  • Use it when you need to decide where the AI may get facts.
  • Use it when you need a repeatable prompt workflow for regular work.
  • Use it when you need to check the answer before you send it.

Use another topic when the main problem is elsewhere:

  • AI assistants — The main problem is how a chat product behaves.
  • Agents and workflows — The main problem is how a multi-step system is routed, coordinated, or given memory.
  • API integrations and tools — The main problem is tool calling, SDK usage, web access, or connecting the model to another system.

Continue with the right resource

Choose the resource that matches the next action, not just the content type.