How to take back and forth human input in a single run of team instance? #2653
Replies: 2 comments 5 replies
-
Hi @MahorShekhar If it’s urgent, please let us know. We appreciate your patience! |
Beta Was this translation helpful? Give feedback.
-
Hey @MahorShekhar , thanks for reaching out. It is on the teams list roadmap. That said, the team leader could respond with “I need more info” and then you run again… So this is kind of just how agents work in general. I would very specifically instruct the agent to gather all the information with a back and forth with the user (the dev should rather use run vs print_response ) and then finally the agent can continue. We don’t have a “single run which has user input”, this is a nice use-case possibly for “Admin Flows” (which is something the team is working on) |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
We are trying to solve a upselling use case. For that we need to communicate with user back and forth to take his user input like his name, account number, Document number required, decision to move forward etc.
While running a small POC, I’m using a while loop and running team.print_response(). But I’m assuming if in just a single run, team leader should ask for user input. Right now I’ve to execute team.print_response every time, as code terminates after printing a single message.
As of now, there is no support of team feature on Agent UI. so I’m running my POC for team feature in terminal only. I did saw pre-hook and post-hook feature, but my question is will it update the user message history as it is continous conversation between user and team. ?
Any suggestions or views are highly appreciated.
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions