Is there a best practice for human-in-the-loop with multiple agents ? #9509
Closed
jb-ross-bingham
started this conversation in
General
Replies: 1 comment
-
@jb-ross-bingham thanks for your question. Have you taken a look at our Process framework? I am not sure if you're targeting SK C# or Python, but we have a getting started sample that shows a simulated "human input" step: C# Example: Python Example: In C# (coming soon to Python), we then have a Processes sample around configuring steps to run the agent framework: https://github.com/microsoft/semantic-kernel/tree/main/dotnet/samples/GettingStartedWithProcesses/Step04 Would this help your use-case? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, we are looking into breaking our AI Tools and behaviors into multiple agents, using the Semantic Kernel Agent Framework. However, in order to do this, the agents would need to be able to take requests from the user, interact with each other and with the user. I believe the behavior we're interested in is described in the documentation as 'Human-in-the-Loop collaboration'. However, I haven't seen this concept mentioned anywhere else. Is there a sample, a document, or anything else that might provide some direction for implementing this type of pattern in Semantic Kernel ?
Currently, we have an extremely long prompt that describes supported behaviors and advertises dozens of tools. This works well for interacting with the user, but it's not sustainable.
It might be worth noting that this an aspnetcore web application, where a transient instance of the Kernel is created via Http Request each time the user sends a message in the chat window. The history and state are stored, so it can be recreated with each request. When the invocation completes, a response is sent back to the user. I'm not sure if this architecture adds additional limitations to implementing a 'Human-in-the-Loop Collaboration' pattern.
I'm happy to provide some context of the problem I'm looking to solve. I started to type it, but I wasn't sure that it added anything helpful to the question.
Thank you for any information you can provide.
Note, I did do a search for similar discussion, and found one which is closed:
#6027
I wasn't sure if I should post a comment to a closed discussion, or open a new one...
Beta Was this translation helpful? Give feedback.
All reactions