How to build a voice/sms virtual agent using langgraph #4721
knightsrule
started this conversation in
General
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 am building a voice and sms virtual agent powered by langgraph.
I have a fastapi server with routes for incoming sms and voice handling. These routes, then call the langgraph app.
Current, minimal create_agent and build_graph looks like this:
There are few things that I havne't been able to sort out.
How should each agent indicate that they need a user input. Looking at the documentation, i should be using the human in the loop mechanism, but it is not clear where in the graph that will show and how will the tools indicate the need for an input.
When the user input comes via sms/voice channel, will graph ainvoke/astream be sufficient to resume the conversation within each agent?
most of the examples that i've seen are notebook or console based and don't show FastAPI. Is there an better example that shows the same concept with FastAPI.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions