Integrating Agent Clarification Node in Langgraph with UI #774
-
I'm creating a chatbot for customer support with Langgraph. If the context is unclear, there will be a "clarification" node where the agent will ask further questions and wait for user's input. For example: User: I would like to book a hotel. Agent: (ask for clarification - this is a node) Here is my list of hotel suggestion. Which one do you want to book?
(Show this message in UI + Wait for user answer) User: 1 In command line, this can be achieved by using Any suggestion for how to solve this problem? Thank you in advance. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Great question. I actually just a how-to guide that I think will help answer your question: https://langchain-ai.github.io/langgraph/how-tos/human_in_the_loop/wait-user-input/ Does this help? Happy to clarify/add anything if not. we want this to be easy! |
Beta Was this translation helpful? Give feedback.
Great question. I actually just a how-to guide that I think will help answer your question: https://langchain-ai.github.io/langgraph/how-tos/human_in_the_loop/wait-user-input/
Does this help? Happy to clarify/add anything if not. we want this to be easy!