Loading lesson…
Level 1 · Apprentice0 XP
How a model asks to run your function, and how the loop around it works.
Step 1 / 5
ProblemA customer asks 'where is my order?'. The model has no idea. It was trained months ago and has never seen your orders table. Without help it will guess.
← → step
Before this: Cost: tokens, caching and batching
🛠️ Your turn
Reading is not the skill, doing is. Try for ten minutes before you open the hint. Getting stuck first is what makes the solution stick.
1.Give a model one tool, get_weather(city), that returns fake data from a dictionary. Ask 'Do I need an umbrella in Casablanca?' and print each step: the tool request, your tool result, the final answer.