Skip to content

Python: Features to Configure Manager in GroupChatBuilder() workflow #2228

@tsuting

Description

@tsuting

Description

Currently, when creating a group chat workflow using GroupChatBuilder, the configuration options are limited: set_prompt_based_manager() or select_speakers().

There is no built-in flexibility for:

  • Assigning a specific agent to the workflow as a manager
  • Assign additional parameters to set_prompt_based_manager() such as temperature or seed.
  • Assign additional parameters to select_speakers() such as passing message to the next speaker.

Suggestion

Introduce a feature that allows:

  • Assigning an agent explicitly to the workflow such as ChatAgent
  • Providing flexibility to set other hyperparameters in set_prompt_based_manager() such as seed
  • Providing flexibility to pass the customized messages to the next speaker in select_speakers()
    • For example, I might have an LLM in this function to summarize the full conversation and pass the proper query to the next speaker.

Metadata

Metadata

Assignees

Labels

agent orchestrationIssues related to agent orchestrationpythonsquad: workflowsAgent Framework Workflows SquadworkflowsRelated to Workflows in agent-framework

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions