Is there a workflow or prompting trick
# general-english
k
Is there a workflow or prompting trick to get an agent to go through a list of things? Ex: I want my agent to ask a certain set of questions, in order. I have it make an api request to get those questions, and then instruct it to step through each one. It seemed to work initially but now I'm lucky if it asks two questions let alone all the questions.
k
Use a structured prompt that explicitly tells it to plan, loop through each question step-by-step, confirm after each answer, and handle skipped or failed responses with fallback logic..
k
Hrm ok. That's what I'm trying to do but it doesn't seem to be listening. Guess I need to make my prompt better somehow.
k
2 Views