Start with a bounded promise. Our example assistant helps an authenticated customer return a pair of headphones from order A184. It may explain the applicable policy and create a return request after confirmation. It cannot invent exceptions, access another customer’s order, or claim that money has been refunded when only a return ticket exists.
The running example uses fictional business rules: unopened headphones qualify for a standard return within 30 days of delivery. A184 was delivered on September 1, and the customer asks on September 10. Packaging condition is initially unknown. The service will calculate nine elapsed calendar days using these dates. No retailer policy, customer record, or production benchmark is being represented here.
A demo can reply, “You are within the return window.” Your production contract requires a more complete result: check ownership, retrieve the applicable policy, preserve the unopened condition, ask what is missing, and distinguish eligibility from execution. If the order service times out, the correct outcome is an unresolved request with an explanation—not a confident guess.
| Tempting claim | More useful production rule |
|---|---|
| Temperature zero guarantees consistency | Validate the decision and record the serving configuration. |
| Step-by-step text proves the answer | Check evidence and externally observable results. |
| RAG makes answers factual | Evaluate the retrieved evidence and the generated claims separately. |
| Embeddings understand what is correct | Treat similarity as a ranking signal with filters and tests. |
| An agent framework makes the system reliable | Enforce permissions, stopping conditions, and recovery in the application. |
Write expected outcomes before choosing a library. For A184, list what must happen for an unopened item, an opened item, an unknown delivery date, an expired window, and a duplicate submission. This becomes the first evaluation set and the first conversation with the team that owns returns. It also exposes product disagreements while they are still inexpensive to resolve.





