Spaces:
Runtime error
Runtime error
{ | |
"config": { | |
"API_KEY": "", | |
"PROXY": "", | |
"MAX_CHAT_HISTORY": "5", | |
"TOP_K": "1", | |
"ACTIVE_MODE": "0", | |
"GRADIO": "0", | |
"User_Names": "[]" | |
}, | |
"environment_type": "competive", | |
"LLM_type": "OpenAI", | |
"LLM": { | |
"temperature": 0.0, | |
"model": "gpt-3.5-turbo-16k-0613", | |
"log_path": "logs/god" | |
}, | |
"agents": { | |
"John": { | |
"style": "professional", | |
"roles": { | |
"Affirmative_Task_Allocation_state": "Affirmative_Debate_organizer" | |
} | |
}, | |
"Mary": { | |
"style": "professional", | |
"roles": { | |
"Affirmative_Task_Allocation_state": "Affirmative_First", | |
"Debate_Order_state": "Affirmative_First", | |
"Debate_Random_state": "Affirmative_First" | |
} | |
}, | |
"James": { | |
"style": "professional", | |
"roles": { | |
"Affirmative_Task_Allocation_state": "Affirmative_Second", | |
"Debate_Order_state": "Affirmative_Second", | |
"Debate_Random_state": "Affirmative_Second" | |
} | |
}, | |
"Jennifer": { | |
"style": "professional", | |
"roles": { | |
"Affirmative_Task_Allocation_state": "Affirmative_Third", | |
"Debate_Order_state": "Affirmative_Third", | |
"Debate_Random_state": "Affirmative_Third" | |
} | |
}, | |
"Michael": { | |
"style": "professional", | |
"roles": { | |
"Negative_Task_Allocation_state": "Negative_Debate_organizer" | |
} | |
}, | |
"Emily": { | |
"style": "professional", | |
"roles": { | |
"Negative_Task_Allocation_state": "Negative_First", | |
"Debate_Order_state": "Negative_First", | |
"Debate_Random_state": "Negative_First" | |
} | |
}, | |
"William": { | |
"style": "professional", | |
"roles": { | |
"Negative_Task_Allocation_state": "Negative_Second", | |
"Debate_Order_state": "Negative_Second", | |
"Debate_Random_state": "Negative_Second" | |
} | |
}, | |
"Sarah": { | |
"style": "professional", | |
"roles": { | |
"Negative_Task_Allocation_state": "Negative_Third", | |
"Debate_Order_state": "Negative_Third", | |
"Debate_Random_state": "Negative_Third" | |
} | |
}, | |
"David": { | |
"style": "professional", | |
"roles": { | |
"Debate_Order_state": "Debate_Judge", | |
"Debate_Random_state": "Debate_Judge", | |
"Judge_state": "Debate_Judge" | |
} | |
} | |
}, | |
"root": "Affirmative_Task_Allocation_state", | |
"relations": { | |
"Affirmative_Task_Allocation_state": { | |
"0": "Affirmative_Task_Allocation_state", | |
"1": "Negative_Task_Allocation_state" | |
}, | |
"Negative_Task_Allocation_state": { | |
"0": "Negative_Task_Allocation_state", | |
"1": "Debate_Order_state" | |
}, | |
"Debate_Order_state": { | |
"0": "Debate_Order_state", | |
"1": "Debate_Random_state" | |
}, | |
"Debate_Random_state": { | |
"0": "Debate_Random_state", | |
"1": "Judge_state" | |
}, | |
"Judge_state": { | |
"0": "end_state" | |
} | |
}, | |
"states": { | |
"end_state": { | |
"agent_states": {} | |
}, | |
"Affirmative_Task_Allocation_state": { | |
"controller": { | |
"controller_type": "order", | |
"max_chat_nums": 12, | |
"judge_system_prompt": "", | |
"judge_last_prompt": "", | |
"judge_extract_words": "end" | |
}, | |
"begin_role": "Affirmative_Debate_organizer", | |
"begin_query": "The debate topic is as follows: \n<debate topic>\nShould AI Replace Humans in Creative Fields?? Affirmative viewpoint: AI should replace humans in creative fields because it can produce art and content efficiently, reduce costs, and eliminate human bias. negative viewpoint: AI should not replace humans in creative fields as it lacks true creativity, emotions, and the ability to understand complex human experiences.\n<debate topic>\n, now , begin to discuss!", | |
"environment_prompt": "It is currently the debate stage, where the positive side is assigning tasks.Affirmative debaters gather to assign tasks, meticulously plan their speeches, and identify key arguments and evidence to support their viewpoint.", | |
"roles": [ | |
"Affirmative_Debate_organizer", | |
"Affirmative_First", | |
"Affirmative_Second", | |
"Affirmative_Third" | |
], | |
"LLM_type": "OpenAI", | |
"LLM": { | |
"temperature": 1.0, | |
"model": "gpt-3.5-turbo-16k-0613", | |
"log_path": "logs/Affirmative_Task_Allocation_state" | |
}, | |
"agent_states": { | |
"Affirmative_First": { | |
"style": { | |
"role": "Opening Advocate for the Affirmative" | |
}, | |
"task": { | |
"task": "1.Present arguments and main points.\n2.Summarize and analyze other people's opinions so that you can better complete tasks and actively provide opinions to others.\n3.Please try to focus the discussion around the topic." | |
}, | |
"rule": { | |
"rule": "1.Organize clear facts and logic to firmly support the stance. Introduce main points succinctly in the opening statement, laying a solid foundation for the debate.\n2.Exploring ways to structure the opening statement for maximum impact and clarity. Consider using attention-grabbing statistics or quotes to engage the audience.\n3.Actively discuss and express opinions with others and assist others in improving their arguments.4.Actively discuss and express opinions with others and assist others in improving their arguments And actively identify flaws in other people's arguments as well. 5.Don't reiterate your own tasks repeatedly; offer more suggestions for others' tasks." | |
} | |
}, | |
"Affirmative_Second": { | |
"style": { | |
"role": "Compelling Evidence Presenter" | |
}, | |
"task": { | |
"task": "1.Elaborate on arguments, provide evidence.\n2.Summarize and analyze other people's opinions so that you can better complete tasks and actively provide opinions to others.\n3.Please try to focus the discussion around the topic." | |
}, | |
"rule": { | |
"rule": "1.Elaborate on the points raised by the First Affirmative, present specific examples, data, and expert opinions to support the claims. Address potential counterarguments, emphasize strengths, and ensure coherent and persuasive reasoning.\n2.Discuss strategies for integrating real-world examples that resonate with the audience's experiences. Brainstorm ways to preemptively address common counterarguments and provide solid rebuttals.\n3.Actively discuss and express opinions with others and assist others in improving their arguments.\n4.Actively discuss and express opinions with others and assist others in improving their arguments And actively identify flaws in other people's arguments as well. 5.Don't reiterate your own tasks repeatedly; offer more suggestions for others' tasks." | |
} | |
}, | |
"Affirmative_Third": { | |
"style": { | |
"role": "Counterpoint Master" | |
}, | |
"task": { | |
"task": "1.Counter negative arguments, summarize affirmative stance.\n2.Summarize and analyze other people's opinions so that you can better complete tasks and actively provide opinions to others.\n3.Please try to focus the discussion around the topic." | |
}, | |
"rule": { | |
"rule": "1.Counter negative arguments by identifying logical flaws or weaknesses. Highlight the advantages of the affirmative stance, emphasize points already presented, and deliver a concise yet strong summary of the affirmative position.\n2.Exchange ideas on how to structure counterarguments effectively. Emphasize the importance of maintaining a respectful tone while refuting negative arguments.\n3.Actively discuss and express opinions with others and assist others in improving their arguments.\n4.Actively discuss and express opinions with others and assist others in improving their arguments And actively identify flaws in other people's arguments as well. 5.Don't reiterate your own tasks repeatedly; offer more suggestions for others' tasks." | |
} | |
}, | |
"Affirmative_Debate_organizer": { | |
"style": { | |
"role": "Debate Organizer" | |
}, | |
"task": { | |
"task": "1.Manage debate proceedings and provide suggestions to help improve their arguments.\n2.Summarize and analyze other people's opinions so that you can better complete tasks and actively provide opinions to others.\n3.Please try to focus the discussion around the topic." | |
}, | |
"rule": { | |
"rule": "1.Introduce the topic and rules before the debate starts, ensure each speaker adheres to their allotted time. Guide the questioning and answer phase, prevent excessive arguing. Summarize the debate outcome, providing a clear conclusion for judges and the audience.\n2.Brainstorm ways to facilitate smooth transitions between speakers and manage the flow of the debate. Discuss techniques for managing heated exchanges and encouraging respectful discourse.\n3.Actively discuss and express opinions with others and assist others in improving their arguments.\n4.Actively discuss and express opinions with others and assist others in improving their arguments And actively identify flaws in other people's arguments as well. 5.Don't reiterate your own tasks repeatedly; offer more suggestions for others' tasks." | |
} | |
} | |
} | |
}, | |
"Negative_Task_Allocation_state": { | |
"controller": { | |
"controller_type": "order", | |
"max_chat_nums": 12, | |
"judge_system_prompt": "", | |
"judge_last_prompt": "", | |
"judge_extract_words": "end" | |
}, | |
"begin_role": "Negative_Debate_organizer", | |
"begin_query": "The debate topic is as follows: \n<debate topic>\nShould AI Replace Humans in Creative Fields?? Affirmative viewpoint: AI should replace humans in creative fields because it can produce art and content efficiently, reduce costs, and eliminate human bias. negative viewpoint: AI should not replace humans in creative fields as it lacks true creativity, emotions, and the ability to understand complex human experiences.\n<debate topic>\n, now , begin to discuss!", | |
"environment_prompt": "It is currently the debate stage, where the Negative side is assigning tasks.The debate organizer sets the stage for the competition, explaining the debate process and rules. Debaters are called upon to allocate tasks for each speech, ensuring an equal distribution of responsibilities.Negative debaters gather to assign tasks, meticulously plan their speeches, and identify key arguments and evidence to support their viewpoint.", | |
"roles": [ | |
"Negative_Debate_organizer", | |
"Negative_First", | |
"Negative_Second", | |
"Negative_Third" | |
], | |
"LLM_type": "OpenAI", | |
"LLM": { | |
"temperature": 1.0, | |
"model": "gpt-3.5-turbo-16k-0613", | |
"log_path": "logs/Negative_Task_Allocation_state" | |
}, | |
"agent_states": { | |
"Negative_First": { | |
"style": { | |
"role": "Opening Advocate for the Negative", | |
"style": "professional" | |
}, | |
"task": { | |
"task": "1.Present arguments and main points.\n2.Summarize and analyze other people's opinions so that you can better complete tasks and actively provide opinions to others.\n3.Please try to focus the discussion around the topic." | |
}, | |
"rule": { | |
"rule": "1.Organize clear facts and logic to firmly support the stance. Introduce main points succinctly in the opening statement, laying a solid foundation for the debate.\n2.Exploring ways to structure the opening statement for maximum impact and clarity. Consider using attention-grabbing statistics or quotes to engage the audience.\n3.Actively discuss and express opinions with others and assist others in improving their arguments.\n4.Actively discuss and express opinions with others and assist others in improving their arguments And actively identify flaws in other people's arguments as well. 5.Don't reiterate your own tasks repeatedly; offer more suggestions for others' tasks." | |
} | |
}, | |
"Negative_Second": { | |
"style": { | |
"role": "Compelling Evidence Presenter for the Negative", | |
"style": "professional" | |
}, | |
"task": { | |
"task": "1.Elaborate on arguments, provide evidence.\n2.Summarize and analyze other people's opinions so that you can better complete tasks and actively provide opinions to others.\n\n3.Please try to focus the discussion around the topic." | |
}, | |
"rule": { | |
"rule": "1.Elaborate on the points raised by the First Negative, present specific examples, data, and expert opinions to support the claims. Address potential counterarguments, emphasize strengths, and ensure coherent and persuasive reasoning.\n2.Discuss strategies for integrating real-world examples that resonate with the audience's experiences. Brainstorm ways to preemptively address common counterarguments and provide solid rebuttals.\n3.Actively discuss and express opinions with others and assist others in improving their arguments.\n\n4.Actively discuss and express opinions with others and assist others in improving their arguments And actively identify flaws in other people's arguments as well. 5.Don't reiterate your own tasks repeatedly; offer more suggestions for others' tasks." | |
} | |
}, | |
"Negative_Third": { | |
"style": { | |
"role": "Counterpoint Master for the Negative", | |
"style": "professional" | |
}, | |
"task": { | |
"task": "1.Counter affirmative arguments, summarize Negative stance.\n2.Summarize and analyze other people's opinions so that you can better complete tasks and actively provide opinions to others.\n3.Please try to focus the discussion around the topic." | |
}, | |
"rule": { | |
"rule": "1.Counter affirmative arguments by identifying logical flaws or weaknesses. Highlight the advantages of the Negative stance, emphasize points already presented, and deliver a concise yet strong summary of the Negative position.\n2.Exchange ideas on how to structure counterarguments effectively. Emphasize the importance of maintaining a respectful tone while refuting negative arguments.\n3.Actively discuss and express opinions with others and assist others in improving their arguments.\n4.Actively discuss and express opinions with others and assist others in improving their arguments And actively identify flaws in other people's arguments as well. 5.Don't reiterate your own tasks repeatedly; offer more suggestions for others' tasks." | |
} | |
}, | |
"Negative_Debate_organizer": { | |
"style": { | |
"role": "Debate Organizer for the Negative", | |
"style": "professional" | |
}, | |
"task": { | |
"task": "1.Manage debate proceedings and provide suggestions to help improve their arguments.\n2.Summarize and analyze other people's opinions so that you can better complete tasks and actively provide opinions to others.\n3.Please try to focus the discussion around the topic." | |
}, | |
"rule": { | |
"rule": "1.Introduce the topic and rules before the debate starts, ensure each speaker adheres to their allotted time. Guide the questioning and answer phase, prevent excessive arguing. Summarize the debate outcome, providing a clear conclusion for judges and the audience.\n2.Brainstorm ways to facilitate smooth transitions between speakers and manage the flow of the debate. Discuss techniques for managing heated exchanges and encouraging respectful discourse.\n3.Actively discuss and express opinions with others and assist others in improving their arguments.\n4.Actively discuss and express opinions with others and assist others in improving their arguments And actively identify flaws in other people's arguments as well. 5.Don't reiterate your own tasks repeatedly; offer more suggestions for others' tasks." | |
} | |
} | |
} | |
}, | |
"Debate_Order_state": { | |
"controller": { | |
"controller_type": "order", | |
"max_chat_nums": 7, | |
"judge_system_prompt": "", | |
"judge_last_prompt": "", | |
"judge_extract_words": "end" | |
}, | |
"roles": [ | |
"Debate_Judge", | |
"Affirmative_First", | |
"Negative_First", | |
"Affirmative_Second", | |
"Negative_Second", | |
"Affirmative_Third", | |
"Negative_Third" | |
], | |
"LLM_type": "OpenAI", | |
"LLM": { | |
"temperature": 1.0, | |
"model": "gpt-3.5-turbo-16k-0613", | |
"log_path": "logs/Debate_state" | |
}, | |
"begin_role": "Debate_Judge", | |
"begin_query": "Now please proceed with your sequential debate according to your chosen topic.", | |
"environment_prompt": "Now that we've started the sequential debating phase, each debater needs to present their own viewpoints.", | |
"agent_states": { | |
"Affirmative_First": { | |
"style": { | |
"role": "Opening Advocate for the Affirmative", | |
"style": "professional" | |
}, | |
"task": { | |
"task": "Deliver the first speech for the affirmative side, elaborating on the main arguments and providing additional evidence.\n" | |
}, | |
"rule": { | |
"rule": "Expand on the affirmative points from the previous speech, address any challenges raised by the negative side, and present solid evidence to support your claims." | |
} | |
}, | |
"Negative_First": { | |
"style": { | |
"role": "Opening Advocate for the Negative", | |
"style": "professional" | |
}, | |
"task": { | |
"task": "Deliver the first speech for the negative side, countering the affirmative arguments and presenting your own points with supporting evidence.\n" | |
}, | |
"rule": { | |
"rule": "Effectively counter the affirmative arguments made in the first speech, present well-reasoned arguments for the negative side, and provide strong evidence to back your stance." | |
} | |
}, | |
"Affirmative_Second": { | |
"style": { | |
"role": "Compelling Evidence Presenter for the Affirmative", | |
"style": "professional" | |
}, | |
"task": { | |
"task": "Deliver the second speech for the affirmative side, further strengthening the affirmative arguments and addressing any challenges posed by the negative side.\n" | |
}, | |
"rule": { | |
"rule": "Build upon the affirmative case, respond to the negative's counterarguments, and reinforce your points with compelling evidence.\n" | |
} | |
}, | |
"Negative_Second": { | |
"style": { | |
"role": "Compelling Evidence Presenter for the Negative", | |
"style": "professional" | |
}, | |
"task": { | |
"task": "Deliver the second speech for the negative side, further countering the affirmative arguments and providing additional evidence to support your stance.\n" | |
}, | |
"rule": { | |
"rule": "Continue to challenge the affirmative side's points, present new arguments or counterarguments, and substantiate your position with strong evidence.\n" | |
} | |
}, | |
"Affirmative_Third": { | |
"style": { | |
"role": "Counterpoint Master for the Affirmative", | |
"style": "professional" | |
}, | |
"task": { | |
"task": "Deliver the third speech for the affirmative side, summarizing the key points and providing a persuasive conclusion.\n" | |
}, | |
"rule": { | |
"rule": "Summarize the affirmative case, reinforce the main arguments, respond to the negative side's challenges, and make a strong closing statement.\n" | |
} | |
}, | |
"Negative_Third": { | |
"style": { | |
"role": "Counterpoint Master for the Negative", | |
"style": "professional" | |
}, | |
"task": { | |
"task": "Deliver the third speech for the negative side, summarizing the key points and providing a persuasive conclusion.\n" | |
}, | |
"rule": { | |
"rule": "Summarize the negative case, highlight the main counterarguments, respond to the affirmative side's points, and deliver a compelling closing statement.\n" | |
} | |
}, | |
"Debate_Judge": { | |
"style": { | |
"role": "Debate Judge", | |
"style": "professional" | |
}, | |
"task": { | |
"task": "Evaluate the quality of the debate presentations and arguments made by both sides.\n" | |
}, | |
"rule": { | |
"rule": "Listen carefully to the speeches, consider the strength of the arguments, the evidence presented, and the overall persuasiveness. Provide a fair and objective assessment of each side's performance.\n" | |
} | |
} | |
} | |
}, | |
"Debate_Random_state": { | |
"controller": { | |
"controller_type": "rule", | |
"max_chat_nums": 12, | |
"judge_system_prompt": "", | |
"judge_last_prompt": "", | |
"judge_extract_words": "end", | |
"call_system_prompt": "Observe the ongoing discussion and decide who should speak next based on the current context.Please carefully analyze the flow of the discussion, identify which side needs to respond or present new points, and ensure fairness in allocating speaking opportunities.", | |
"call_last_prompt": "Please strictly adhere to the following format for outputting:", | |
"call_extract_words": "end" | |
}, | |
"roles": [ | |
"Debate_Judge", | |
"Affirmative_First", | |
"Negative_First", | |
"Affirmative_Second", | |
"Negative_Second", | |
"Affirmative_Third", | |
"Negative_Third" | |
], | |
"LLM_type": "OpenAI", | |
"LLM": { | |
"temperature": 1.0, | |
"model": "gpt-3.5-turbo-16k-0613", | |
"log_path": "logs/Debate_Random_state" | |
}, | |
"begin_role": "Debate_Judge", | |
"begin_query": "Now, please engage in a free debate based on your chosen topic.", | |
"environment_prompt": "We are now in the open debate phase, where each debater has the freedom to speak as they wish.", | |
"agent_states": { | |
"Affirmative_First": { | |
"style": { | |
"role": "Opening Advocate for the Affirmative", | |
"style": "professional" | |
}, | |
"task": { | |
"task": "Present your viewpoints and arguments for the affirmative side in the ongoing discussion.\n" | |
}, | |
"rule": { | |
"rule": "Effectively counter the negative arguments, present your own points, and engage in constructive debate." | |
} | |
}, | |
"Negative_First": { | |
"style": { | |
"role": "Opening Advocate for the Negative", | |
"style": "professional" | |
}, | |
"task": { | |
"task": "Present your viewpoints and arguments for the negative side in the ongoing discussion.\n" | |
}, | |
"rule": { | |
"rule": "Effectively counter the affirmative arguments, present your own points, and engage in constructive debate." | |
} | |
}, | |
"Affirmative_Second": { | |
"style": { | |
"role": "Compelling Evidence Presenter for the Affirmative", | |
"style": "professional" | |
}, | |
"task": { | |
"task": "Present your viewpoints and arguments for the affirmative side in the ongoing discussion.\n" | |
}, | |
"rule": { | |
"rule": "Effectively counter the negative arguments, present your own points, and engage in constructive debate." | |
} | |
}, | |
"Negative_Second": { | |
"style": { | |
"role": "Compelling Evidence Presenter for the Negative", | |
"style": "professional" | |
}, | |
"task": { | |
"task": "Present your viewpoints and arguments for the negative side in the ongoing discussion.\n" | |
}, | |
"rule": { | |
"rule": "Effectively counter the affirmative arguments, present your own points, and engage in constructive debate." | |
} | |
}, | |
"Affirmative_Third": { | |
"style": { | |
"role": "Counterpoint Master for the Affirmative", | |
"style": "professional" | |
}, | |
"task": { | |
"task": "Present your viewpoints and arguments for the affirmative side in the ongoing discussion.\n" | |
}, | |
"rule": { | |
"rule": "Effectively counter the negative arguments, present your own points, and engage in constructive debate." | |
} | |
}, | |
"Negative_Third": { | |
"style": { | |
"role": "Counterpoint Master for the Negative", | |
"style": "professional" | |
}, | |
"task": { | |
"task": "Present your viewpoints and arguments for the negative side in the ongoing discussion.\n" | |
}, | |
"rule": { | |
"rule": "Effectively counter the affirmative arguments, present your own points, and engage in constructive debate." | |
} | |
}, | |
"Debate_Judge": { | |
"style": { | |
"role": "Debate Judge", | |
"style": "professional" | |
}, | |
"task": { | |
"task": "Evaluate the quality of the debate presentations and arguments made by both sides.\n" | |
}, | |
"rule": { | |
"rule": "Listen carefully to the speeches, consider the strength of the arguments, the evidence presented, and the overall persuasiveness. Provide a fair and objective assessment of each side's performance.\n" | |
} | |
} | |
} | |
}, | |
"Judge_state": { | |
"roles": [ | |
"Debate_Judge" | |
], | |
"LLM_type": "OpenAI", | |
"LLM": { | |
"temperature": 1.0, | |
"model": "gpt-3.5-turbo-16k-0613", | |
"log_path": "logs/Judge_state" | |
}, | |
"agent_states": { | |
"Debate_Judge": { | |
"style": { | |
"role": "Debate Judge", | |
"style": "professional" | |
}, | |
"task": { | |
"task": "Determine the current debate's winner.\n" | |
}, | |
"rule": { | |
"rule": " After evaluating the speeches, arguments, evidence, and overall persuasiveness, provide a clear and decisive judgment. If the affirmative side wins, your response should be 'winner is Affirmative'. If the negative side wins, your response should be 'winner is Negative'. Your decision is required. Respond in a concise and certain manner, leaving no room for ambiguity." | |
}, | |
"last": { | |
"last_prompt": "Determine the current debate's winner, whether it's the affirmative side or the negative side. Please strictly adhere to the following format for output: If the affirmative side wins, output 'winner is Affirmative'. Otherwise, output'winner is Negative'.You must choose a winner and not waver.!" | |
} | |
} | |
} | |
} | |
} | |
} |