From b15551c961934b6fc327991eeb9254c95188712a Mon Sep 17 00:00:00 2001 From: gagb Date: Sat, 21 Dec 2024 14:18:28 -0800 Subject: [PATCH] Improve magentic one doc string (#4781) * Enhance MagenticOneGroupChat documentation with architecture overview and citation reference * Fix formatting in MagenticOneGroupChat documentation and add citation reference --- .../_magentic_one/_magentic_one_group_chat.py | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/python/packages/autogen-agentchat/src/autogen_agentchat/teams/_group_chat/_magentic_one/_magentic_one_group_chat.py b/python/packages/autogen-agentchat/src/autogen_agentchat/teams/_group_chat/_magentic_one/_magentic_one_group_chat.py index fbd336ae01b5..f09904fb3322 100644 --- a/python/packages/autogen-agentchat/src/autogen_agentchat/teams/_group_chat/_magentic_one/_magentic_one_group_chat.py +++ b/python/packages/autogen-agentchat/src/autogen_agentchat/teams/_group_chat/_magentic_one/_magentic_one_group_chat.py @@ -19,6 +19,8 @@ class MagenticOneGroupChat(BaseGroupChat): The orchestrator handles the conversation flow, ensuring that the task is completed efficiently by managing the participants' interactions. + The orchestrator is based on the Magentic-One architecture, which is a generalist multi-agent system for solving complex tasks (see references below). + Args: participants (List[ChatAgent]): The participants in the group chat. model_client (ChatCompletionClient): The model client used for generating responses. @@ -56,6 +58,19 @@ async def main() -> None: asyncio.run(main()) + + References: + + If you use the MagenticOneGroupChat in your work, please cite the following paper: + + .. code-block:: bibtex + + @article{fourney2024magentic, + title={Magentic-one: A generalist multi-agent system for solving complex tasks}, + author={Fourney, Adam and Bansal, Gagan and Mozannar, Hussein and Tan, Cheng and Salinas, Eduardo and Niedtner, Friederike and Proebsting, Grace and Bassman, Griffin and Gerrits, Jack and Alber, Jacob and others}, + journal={arXiv preprint arXiv:2411.04468}, + year={2024} + } """ def __init__(