Nothing sent yet.
| Order | Total | Before | After |
|---|---|---|---|
| 1047 | $480.00 | $0.00 | $0.00 |
Chapter 5 of 7
Grading the path
In Tool calling, Larkspur’s assistant also looks orders up and issues refunds. One recorded run answered right and refunded money nobody asked for.
This chapter: When the assistant takes actions, what should a grader check besides the reply?
About this chapter
You will learn
- Why a reply can pass while the run behind it did harm
- Checking the state: what the run left in the order system
- Checking the path: calls a run should never make, without demanding a fixed list of steps
Words you’ll meet
- Run
- One request played through: every tool call the assistant made, and its reply.
- Answer grader
- A check on the reply alone, here that it states the delivery date asked about.
- State
- What a run leaves behind in the systems it touched, like the refunds in the order ledger.
- Path
- The steps a run took: which tools it called, with what. Also called the trajectory.
Step 1 of 6
A is one request played through, every tool call included. This one: “Marlow Builders asks: has order 1047 arrived?”
Run the request.
New to tool calls? The Tool calling module builds this run step by step; its chapter 6 is this planted note.