Log in
Log into community
Find answers from the community
View all posts
Related posts
Did this answer your question?
π
π
π
Powered by
Hall
Inactive
Updated 3 months ago
0
Follow
Human in the loop
Human in the loop
Inactive
0
Follow
b
brett
last year
Β·
is there an example of human-in-the-loop with
ReActAgent
? (or any other agent)
if not, any suggestions on whether to use callbacks or subclass?
L
b
4 comments
Share
Open in Discord
L
Logan M
last year
There is not. However, I think you could make a tool that calls on the user for input? But then it depends on the agent calling that tool
Otherwise, subclass is the way to go
b
brett
last year
got it, thanks @Logan M !
now i'm looking at whether i can subclass in a stateless web server.
is there an obvious way to serialize the agent (e.g. the
BaseReasoningStep
s) and then reconstruct the agent after the user approves?
i can't see an obvious way to initialize an agent with partially complete reasoning
L
Logan M
last year
ooo yea serializing like that will be a little tough π tbh, the react agent class probably needs to be designed from the bottom up with human in the loop in mind π€
Tbh that would be an amazing PR if you wanted to tackle that
b
brett
last year
got it, thanks!!
i'm hacking on it now, i'll let you know if anything comes of it.
Add a reply
Sign up and join the conversation on Discord
Join on Discord