TapinYour learning

Complex · Giving an agent something to stand on

Looking it up before answering

Milo’s staff ask a helper questions such as “When does the bakery deliver this week?” The model was never taught Maple Mart’s own papers. So before it answers, code finds the few pieces of those papers that match the question. Those pieces go into the request as evidence. That lookup is retrieval.

Video coming

Example

Maple Mart staff helper question When does the bakery deliver in a holiday week? looked up supplier handbook, bakery page, holiday line “In a week with a public holiday, the bakery comes a day later.” answer A day later than usual, says the bakery page.

Try it Yourself

A question asks about the dairy’s Sunday deliveries. Which page of the supplier handbook should the lookup find? Type its name.

Exercise

Why does the staff helper look things up before it answers?

Project: Plan one weekly job at Maple Mart
Project: Wire Maple Mart’s reorder agent, from the tool to the gateway
Project: Make Maple Mart’s order agent production-ready