TapinYour learning

Medium · From your know-how to a finished task

Grace knows what to order; a program places it

Grace knows avocados take three days to ripen, so Wednesday is the day to order for Saturday. She tells the order agent, but its model has no line to the orchard. The model writes a tool call: the tool it wants, and the details to put in. A program at Maple Mart reads that tool call and places the order.

Video coming

Example

Maple Mart, Wednesday, before the doors open Grace: avocados for the weekend, they need three days The tool call the model writes order_produce(item: avocados, crates: 3, supplier: hill orchard, arrive: Wednesday) The ordering program sends it to the orchard. The model chose the tool and filled in the details. That is all it did.

Try it Yourself

Grace wants 2 crates of avocados from hill orchard. Write the tool call the model would write.

Exercise

The avocado order reaches the orchard. Which part of the order agent sent it?

Project: Plan one task from your own working day
Project: Run one week of Maple Mart produce orders through the agents
Project: Get Maple Mart’s produce agents ready for the cookout season