#Groupchat Speaker Selection

1 messages · Page 1 of 1 (latest)

vestal osprey
#

Is there a way in which I can see step by step how the manager selects the next speaker in a groupchat?

livid laurel
#

Are you interested in logging or understanding how the call is made? (assuming you are asking for when the next speaker selection is set to "auto") the way it is done is via an LLM call, you can see the prompt creation for that call here: https://github.com/microsoft/autogen/blob/main/autogen/agentchat/groupchat.py#L92C20-L92C33 it basically gives all the available roles and conversation history and asks the LLM to decide which should be the next agent to speak

GitHub

Enable Next-Gen Large Language Model Applications. Join our Discord: https://discord.gg/pAbnFJrkgZ - microsoft/autogen

vestal osprey
#

Thank you! I was looking for something more related to the punctual call to the next speaker, but I understand that in case of being defined as "auto" it comes from the llm's decision from the context. Thanks for the quick answer