mirror of
https://github.com/microsoft/autogen.git
synced 2026-04-20 03:02:16 -04:00
Move core samples to /python/samples (#4911)
* Move core samples to /python/samples * Fix proto check * Add sample code check workflow * Update pyright settings; fix types
This commit is contained in:
34
python/samples/core_distributed-group-chat/config.yaml
Normal file
34
python/samples/core_distributed-group-chat/config.yaml
Normal file
@@ -0,0 +1,34 @@
|
||||
host:
|
||||
hostname: "localhost"
|
||||
port: 50060
|
||||
|
||||
group_chat_manager:
|
||||
topic_type: "group_chat"
|
||||
max_rounds: 3
|
||||
|
||||
writer_agent:
|
||||
topic_type: "Writer"
|
||||
description: "Writer for creating any text content."
|
||||
system_message: "You are a one sentence Writer and provide one sentence content each time"
|
||||
|
||||
editor_agent:
|
||||
topic_type: "Editor"
|
||||
description: "Editor for planning and reviewing the content."
|
||||
system_message: "You are an Editor. You provide just max 15 words as feedback on writers content."
|
||||
|
||||
ui_agent:
|
||||
topic_type: "ui_events"
|
||||
artificial_stream_delay_seconds:
|
||||
min: 0.05
|
||||
max: 0.1
|
||||
|
||||
client_config:
|
||||
model: "gpt-4o"
|
||||
azure_endpoint: "https://{your-custom-endpoint}.openai.azure.com"
|
||||
azure_deployment: "{your-azure-deployment}"
|
||||
api_version: "2024-08-01-preview"
|
||||
api_key: ""
|
||||
model_capabilities:
|
||||
vision: True
|
||||
function_calling: True
|
||||
json_output: True
|
||||
Reference in New Issue
Block a user