You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
agent1=MultimodalConversableAgent(
name="image-explainer-1",
max_consecutive_auto_reply=10,
llm_config={"config_list": config_list_gpt4v, "temperature": 0.5, "max_tokens": 300},
system_message="Your image description is poetic and engaging.",
)
agent2=MultimodalConversableAgent(
name="image-explainer-2",
max_consecutive_auto_reply=10,
llm_config={"config_list": config_list_gpt4v, "temperature": 0.5, "max_tokens": 300},
system_message="Your image description is factual and to the point.",
)
user_proxy=autogen.UserProxyAgent(
name="User_proxy",
system_message="Ask both image explainer 1 and 2 for their description.",
human_input_mode="NEVER", # Try between ALWAYS or NEVERmax_consecutive_auto_reply=10,
)
# We set max_round to 5groupchat=autogen.GroupChat(agents=[agent1, agent2, user_proxy], messages=[], max_round=5)
group_chat_manager=autogen.GroupChatManager(groupchat=groupchat, llm_config=gpt4_llm_config)
user_proxy.initiate_chat(group_chat_manager,
message=f"""What do you see? <img https://th.bing.com/th/id/R.422068ce8af4e15b0634fe2540adea7a?rik=y4OcXBE%2fqutDOw&pid=ImgRaw&r=0>.""")
The issue is caused by the variable type of system_message, which is different in Multimodal and other conversable agents.
The text was updated successfully, but these errors were encountered:
A simple example is shown below:
The issue is caused by the variable type of
system_message
, which is different in Multimodal and other conversable agents.The text was updated successfully, but these errors were encountered: