A rec-center membership desk needs a helper that greets a visitor, asks one clarifying question, then drafts a day-pass note. What should the application code do?
Select an answer to reveal the explanation.
Short Explanation
Greet, ask one clarifying question, then draft the day-pass note. That is a turn loop: show the reply, read the next line, append history, call the model, stop when you are done. One empty completion, a nightly FAQ, or a frozen poster is not a visit.
Full Explanation
A chatbot is a loop around the model: display the latest reply, read the next user line, append it to a role-tagged history, call the model, and stop when a condition is met. Greeting, clarifying, and drafting a note are separate turns, so a single completion cannot stand in for the visit. A static FAQ page and a frozen poster are not a turn loop.