- 步驟一:使用 git clone https://github.com/shaadclt/Multi-Agent-Conversation-AutoGen.git 複製資料庫
- 步驟二:安裝Python 3.8+及相關套件 pip install -r requirements.txt
- 步驟三:在環境變數或設定檔中設定 OPENAI_API_KEY
- 步驟四:編輯 config.yaml,定義代理人角色、個性與對話參數
- 步驟五:執行 python autogen.py --config config.yaml 產生多代理人對話
- 步驟六:檢視輸出資料夾中的日誌檔,並根據需求調整參數