Replies: 1 comment
-
|
The easiest way is to have some Function Executer steps between the other steps, they can do the validation and then depending on what they find send a specific message to another step. For example in https://github.com/microsoft/agent-framework/blob/main/python/samples/getting_started/workflows/control-flow/multi_selection_edge_group.py where spam detention is combined with code for a overview of the email, and then another step uses that input to route to one or more other steps, and they could also send it back with feedback. Also structured outputs are your friends for this kind of thing! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I'm creating application to generate exam questions. I would like to try switching to AF and add extra step "editor" that will verify if questions are correct. But between that I would like just formal verifiaction if question is ok. Eg - answer is among options to choose. How can I do that. Ideally If it's not then I would like to go back to first step (max 5 times)
Beta Was this translation helpful? Give feedback.
All reactions