-
Notifications
You must be signed in to change notification settings - Fork 710
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Turn-based Conversation with Agents #193
Comments
Take a look at the "customer service" example: openai-agents-python/examples/customer_service/main.py Lines 144 to 165 in 951193b
|
If you want to ask a fixed list of questions, you can just build that directly (e.g. via a form or a Q&A type system). If you have a non-fixed list of questions, or want to get an Agent to check the answers, you can check out the Customer Service example mentioned above! You can also prompt the agent e.g. by saying "Ask the user about their name, age, etc. Go back and forth until you have all the required information". |
Please read this first
Question
Hi, I have the following question:
Let's say I have an usecase where I need to ask the user for several inputs turn-based.
So first question is his name, afterwards I ask him for his age.
How would I achieve this the best way possible with the SDK?
I need to incooperate such tasks with my existing agents which process these informations later down the line to make informed decisions.
Any help or point into a direction would be super helpful!
Thanks,
Paul
The text was updated successfully, but these errors were encountered: