Skip to content

Free guide

Choose the smallest AI product worth testing

Start with one decision or draft, a simpler baseline and a way for a person to recover when the model is wrong.

Why it matters

A product manager can test value before building a large system. A developer can identify which steps need judgment and which have rules precise enough to write in ordinary code.

Core concepts

What a language model contributes

A language model learns patterns in sequences of tokens. Tokens are pieces of text or other encoded inputs. Its output can be fluent while unsupported by the supplied facts. Use it where wording varies, such as interpreting a free-text reason or drafting a summary for review.

What the context window holds

The model can use only the instructions, history, retrieved material and tool results it receives within its context limits. A longer window raises the amount you can include. It does not guarantee the model finds the right paragraph. Put high-value evidence close to the decision and keep a citation to its source.

Choose baseline, model and fallback

Compare a lookup, a fixed rule, a model and a human path. Test candidate models on the same cases. Choose a model by field accuracy, severe errors, response time and cost per accepted result. A bigger model may earn its cost on ambiguous cases and add little on standard ones.

Specify the decision boundary

A system prompt states role, supported inputs, evidence requirements, allowed output and when to abstain. Program code enforces permissions, arithmetic and other hard rules. “Unknown” is a product state with a next action and an owner.

Try it step by step

  1. Collect synthetic examples of common, rare and ambiguous work. Write the correct answer before prompting.
  2. Run a simple baseline first. Record its errors, especially cases that could change a downstream decision.
  3. Compare one model on the same set. Decide which cases to automate, draft for review or leave manual.

Make a decision ledger with input, desired output, worse error, baseline, useful gain and fallback owner.

Worked example

Fictional example: A training vendor routes requests by a dropdown. A lookup maps an explicit billing label correctly every time. Free-text “I was charged for a class I canceled” may benefit from language classification, with a reviewer for unresolved cases.

Common mistake

Sending a fixed rate or known identifier to a model to “confirm” it when the source system already provides the exact answer.

Practice exercise

Pick one support inbox. Invent twelve examples, including contradictory cases. Label them independently, run a keyword baseline by hand and write the smallest improvement that would justify a model pilot.

Check your understanding

Which step belongs in deterministic code?

  1. Draft an explanation of an unusual request
  2. Summarize a long letter for review
  3. Multiply an approved unit price by a quantity
Show answer

Multiply an approved unit price by a quantity. The inputs and formula define an exact answer that can be checked directly.

Takeaway

Use a model for the uncertainty that remains after writing down the rules.

Further reading

Browse more lessons