Hi everyone 👋
I’m testing a medical chatbot agent that starts from a symptom (e.g. “I have stomach pain”), then asks several related questions, and finally recommends a suitable clinic.
The problem is that each test run may have different question wording or order, so I can’t predefine all user inputs in advance.
I’d like to dynamically provide user replies based on the agent’s last question — for example, if the agent asks about pain_location, I return the predefined answer for that property.
Is there any recommended way in Promptfoo to handle this kind of dynamic multi-turn input-output flow?
Thanks!