Replies: 5 comments 4 replies
-
To implement a Human-In-The-Loop logic in a cloud-hosted Agents/Tools application with the front-end being WhatsApp or a WebChat, you can follow these steps:
This setup allows you to create a conversational agent that can interact with users via WhatsApp or WebChat, with the ability to involve a human in the loop when necessary [1]. |
Beta Was this translation helpful? Give feedback.
-
@dosu, this example is not correct. This instruction does NOT work in a WebChat or WhatsApp. 'resp = input(input_msg)' This example you provided, I already knew and understand how it works. My question is precisely to understand how to do something similar in a cloud environment, where the service running the Agent is stateless and the entry point for the service in the cloud is an HTTP request. Thank you. |
Beta Was this translation helpful? Give feedback.
-
@dosu, you changed the scenario. It's not at all what I asked. Let me explain again: I want to write a LangChain application that runs inside a cloud container. This application implements Agent/Tools. My client is WhatsApp. The user will write a command, which will be sent to my application via HTTP, and within the entry point, I will execute the Agent/Tool. The agent will run, and when it selects a tool, it should ask the user for confirmation before executing. So, what is the pattern for this situation? |
Beta Was this translation helpful? Give feedback.
-
Did you find any solutions to this? @mrctito |
Beta Was this translation helpful? Give feedback.
-
No, I did not
Em dom., 25 de mai. de 2025, 11:33, Abdullah Habberrih <
***@***.***> escreveu:
… Did you find any solutions to this? @mrctito <https://github.com/mrctito>
I'm using Rest API with NestJS and LangGraphJS
—
Reply to this email directly, view it on GitHub
<#26823 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAGFVVS35Q53HMLCU5RDN3D3AHIDRAVCNFSM6AAAAABOYZSIFCVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTGMRWGQYDGMY>
.
You are receiving this because you were mentioned.Message ID:
***@***.***
com>
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Checked other resources
Commit to Help
Example Code
Description
Hello, how do I implement a Human-In-The-Loop logic in a cloud-hosted Agents/Tools application with the front-end being WhatsApp or a WebChat, for example?
Thank you.
System Info
N/A
Beta Was this translation helpful? Give feedback.
All reactions