Lesson 3 of 4 Generative AI and Prompt Engineering

Prompting Techniques for Business Tasks

Beyond the basic elements of a prompt, a few established techniques improve results for particular kinds of task. This lesson explains zero-shot, few-shot and chain-of-thought prompting, prompt chaining and self-checking.

Learning outcomes

After completing this lesson, you will be able to:

  • Distinguish zero-shot, few-shot and chain-of-thought prompting.
  • Explain prompt chaining and self-checking.
  • Choose a prompting technique for a given business symptom.
  • Explain the use and limits of self-checking prompts.
  • Explain why structured output is requested and validated when results feed other systems.
  • Describe the cost implications of each prompting technique.

Zero-shot and few-shot prompting

A zero-shot prompt gives instructions without examples: "Classify this email as billing, technical or cancellation." Modern models handle many tasks well this way. A few-shot prompt adds a small number of worked examples of input and expected output. Examples are the most effective way to communicate a specific format, tone or set of category definitions that are hard to describe in words, and they make results more consistent.

Chain-of-thought and prompt chaining

Chain-of-thought prompting asks the model to work through a problem step by step before giving its answer, for example "First identify the applicable policy, then check each condition, then state the decision." It improves accuracy on multi-step reasoning such as eligibility checks or calculations, and the visible reasoning helps reviewers spot errors. Many current models perform this reasoning internally when asked to think through a problem.

Prompt chaining breaks a complex task into a sequence of simpler prompts, where each output feeds the next: extract the key facts from a contract, then compare them with the company's standard terms, then draft a summary of deviations. Each step is easier to test and improve than one large prompt.

Self-checking and verification

A self-check or verification prompt asks the model to review an answer against its sources, for example "For each statement in the summary, quote the sentence in the contract that supports it, and mark any statement without support as UNSUPPORTED." The check can be part of the same prompt or a separate step in a chain. It is useful for flagging statements that need human attention.

Self-checking has a limit: a model can confirm its own mistakes. It improves reliability but does not replace human review for high-impact content, and stronger verification uses a separate step, a different model or a rule-based check of facts such as amounts and dates.

Structured output

When generated content feeds another system, such as a CRM or a ticketing tool, the prompt should request a structured format, such as named fields in JSON, a table or a fixed set of headings, and should list the allowed values for each field. A downstream check should confirm that each output matches the structure before it is used, because a model can occasionally return an invalid format. Structured output turns generative AI from a drafting aid into a reliable step in an automated process.

The cost of each technique

Techniques that improve quality usually consume more tokens or more requests. Few-shot examples add input tokens to every request; chain-of-thought adds output tokens and response time; prompt chaining and self-checks add whole requests. At small volumes the effect is negligible, but at millions of requests it can be significant. Teams should therefore use the simplest technique that meets the quality requirement, and measure quality and cost together when comparing prompt versions.

The following diagram shows which kind of cost each technique adds.

What each prompting technique adds to cost. Zero-shot prompting adds nothing. Few-shot examples add input tokens to every request; chain-of-thought adds output tokens and response time; prompt chaining and self-checking add whole requests. At millions of requests the difference matters, so teams use the simplest technique that meets the quality requirement.
A large dot marks the cost a technique adds. Few-shot and chain-of-thought add tokens to each request; chaining and self-checking add requests.
Select all that apply

What each technique costs

Exam skills 1.3.1 · 1.3.2

Identify how quality techniques affect cost at high volume.

Log in to try this activity Interactive activities are free with an account.

Choosing a technique

The following table matches common business symptoms to the technique most likely to help.

SituationTechniqueWhy it helps
Simple, well-understood taskZero-shot with clear instructionsFast to write and often sufficient
Inconsistent format or toneFew-shot examplesShows exactly what good output looks like
Errors in multi-step reasoningChain-of-thoughtMakes the model work through each step
Long, complex workflowPrompt chainingSplits the work into testable steps
Answers must be checked against sourcesSelf-check or verification promptAsks the model to confirm each claim is supported
Sort into groups

Pick the technique

Exam skills 1.3.1

Choose the prompting technique most likely to help in each situation.

Log in to try this activity Interactive activities are free with an account.
Worked example

Improving eligibility decisions

An insurer's internal assistant explains whether a claim type is covered under a policy. Staff find that it often reaches the right conclusion for simple policies but makes mistakes when several exclusions and conditions interact. Which technique should the team try first?

The errors arise in multi-step reasoning, so chain-of-thought prompting is the first technique to try: instruct the assistant to list each relevant clause, evaluate the conditions and exclusions one by one, and only then state the conclusion, quoting the clauses it relied on. The visible reasoning lets staff check the answer. If the policy wording itself is not reliably in the prompt, retrieval of the correct policy document (RAG) is also needed.

Worked example

Company-specific categories

An IT service desk wants a generative model to assign incoming tickets to its own 15 categories, several of which overlap, such as "access request" and "account locked". A zero-shot prompt that lists the category names assigns about a quarter of tickets to the wrong one. The results must be written to the ticketing system automatically. What should the team change?

The categories are specific to the organisation and hard to distinguish from their names alone, so the team should add a short definition of each category and a set of few-shot examples, particularly for the overlapping pairs. Because the results feed another system, the prompt should require structured output containing only an allowed category name and a confidence level, with a check that rejects anything else. Tickets with low confidence can be routed to a person, and the prompt should be tested on a few hundred past tickets before going live.

Check yourself

Outputs are correct but use inconsistent structures and tone. Which technique is the most direct fix?

Show answer

Few-shot prompting: adding examples of the desired output shows the model exactly what structure and tone to use.

Exam Tips

Remember for the exam

  • Few-shot examples are the best fix for inconsistent formats or tone.
  • Chain-of-thought helps multi-step reasoning such as eligibility or calculations.
  • Prompt chaining splits complex workflows into simpler, testable steps.
  • Self-checks flag unsupported statements but cannot guarantee correctness.
  • Request structured output with allowed values when results feed other systems, and validate it.
  • Better techniques usually cost more tokens or requests; use the simplest one that meets the requirement.