Skip to content

Adding AgentGroupChat to the kernel for future use in Process Framework #10234

Answered by moonbox3
FredMCA asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @FredMCA, thank you for your question. We do have work on the SK Python side to get to sample parity with .Net, as you've pointed out. It's great you've been looking into it on your side.

The first thing to callout is the difference in the ability to use dependency injection in .Net versus Python. The Step04 process sample in .Net is showing lots of use of dependency injection, to retrieve registered resources. In Python, to add a service to the kernel, it needs to be of type AIServiceClientBase, which currently AgentGroupChat is not.

The way we can handle passing in the necessary dependencies is through creating a custom state for the step.

As shown in the following concept sample, th…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by moonbox3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
python Pull requests for the Python Semantic Kernel processes
2 participants