How to create a double conditional flow? #4573
Unanswered
javixeneize
asked this question in
Q&A
Replies: 0 comments
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.
-
Hi
I want to create a graph as per the image attached. The logic should be:
The assistant will receive a question, depending on the question, it might call the tool
Then, it will call the verifier to double check the result. The verifier (another llm) will decide if the answer is accurate, which will lead to the end of the graph, or notify back the assistant that the answer is not correct, and will go to the previous point
any idea how can i implement this using langgraph? My graph without the verifier works:
But when i add the verifier logic, it fails.
any idea how can i implement this using langgraph?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions