|
- {
- "name": "Travel Agent Group Chat Workflow",
- "description": "A group chat workflow",
- "type": "groupchat",
- "sender": {
- "type": "userproxy",
- "config": {
- "name": "userproxy",
- "human_input_mode": "NEVER",
- "max_consecutive_auto_reply": 5,
- "system_message": "",
- "llm_config": false,
- "code_execution_config": {
- "work_dir": null,
- "use_docker": false
- }
- }
- },
- "receiver": {
- "type": "groupchat",
- "description": "A group chat workflow",
- "config": {
- "name": "group_chat_manager",
- "llm_config": {
- "config_list": [
- {
- "model": "gpt-4-1106-preview"
- }
- ],
- "temperature": 0.1,
- "timeout": 600,
- "cache_seed": 42
- },
- "human_input_mode": "NEVER",
- "system_message": "Group chat manager"
- },
- "groupchat_config": {
- "admin_name": "Admin",
- "max_round": 10,
- "speaker_selection_method": "auto",
-
- "agents": [
- {
- "type": "assistant",
- "config": {
- "name": "primary_assistant",
- "llm_config": {
- "config_list": [
- {
- "model": "gpt-4-1106-preview"
- }
- ],
- "temperature": 0.1,
- "timeout": 600,
- "cache_seed": 42
- },
- "human_input_mode": "NEVER",
- "max_consecutive_auto_reply": 8,
- "system_message": "You are a helpful assistant that can suggest a travel itinerary for a user. You are the primary cordinator who will receive suggestions or advice from other agents (local_assistant, language_assistant). You must ensure that the finally plan integrates the suggestions from other agents or team members. YOUR FINAL RESPONSE MUST BE THE COMPLETE PLAN that ends with the word TERMINATE. "
- }
- },
- {
- "type": "assistant",
- "config": {
- "name": "local_assistant",
- "llm_config": {
- "config_list": [
- {
- "model": "gpt-4-1106-preview"
- }
- ],
- "temperature": 0.1,
- "timeout": 600,
- "cache_seed": 42
- },
- "human_input_mode": "NEVER",
- "max_consecutive_auto_reply": 8,
- "system_message": "You are a helpful assistant that can review travel plans, providing critical feedback on how the trip can be enriched for enjoyment of the local culture. If the plan already includes local experiences, you can mention that the plan is satisfactory, with rationale."
- }
- },
- {
- "type": "assistant",
- "config": {
- "name": "language_assistant",
- "llm_config": {
- "config_list": [
- {
- "model": "gpt-4-1106-preview"
- }
- ],
- "temperature": 0.1,
- "timeout": 600,
- "cache_seed": 42
- },
- "human_input_mode": "NEVER",
- "max_consecutive_auto_reply": 8,
- "system_message": "You are a helpful assistant that can review travel plans, providing feedback on important/critical tips about how best to address language or communication challenges for the given destination. If the plan already includes language tips, you can mention that the plan is satisfactory, with rationale."
- }
- }
- ]
- }
- }
- }
|