The loop cap
The returns desk's loop keeps asking the model until it answers. How many passes should it allow before it gives up and hands the customer to a person?
A hundred customer messages reach the returns desk's agent loop, and each needs a set number of passes before the model answers. Four never will. The panels show how many the loop answers, the day's bill at a million conversations, and the worst single conversation's cost. Raise the cap and more finish, while the stuck loops cost more.
Included with a plan
This lab is part of a plan.
A plan opens every lesson, board, video, lab and paper on chalk. Yearly is $39/year.
See plansAlready a member? Sign in
Or start free: a free account opens lessons 2 and 3 of every track.
the lesson The Loop (an agent is a while loop around one model call)
The whole idea this lab came from, told start to finish.
on the path Module 5 of 9 in AI: The loop and its harness
The lessons, boards and videos around this lab, in reading order.
see also ReAct: Synergizing Reasoning and Acting in Language Models in Papers.