vikramvasudevan commited on
Commit
b94ae83
·
verified ·
1 Parent(s): 1a5dbae

Upload folder using huggingface_hub

Browse files
src/debate/config/tasks.yaml CHANGED
@@ -2,7 +2,7 @@ proposition_task:
2
  description: >
3
  Your job is to argue for the motion: {motion}
4
  expected_output: >
5
- Present your arguments in a concise manner arguing for the {motion}
6
  agent: debate_agent
7
  output_key: proposition
8
 
@@ -10,7 +10,7 @@ opposition_task:
10
  description: >
11
  Your job is to argue against the motion: {motion}
12
  expected_output: >
13
- Present your arguments in a concise manner arguing against the {motion}
14
  agent: debate_agent
15
  output_key: opposition
16
 
@@ -18,6 +18,6 @@ judge_task:
18
  description: >
19
  Review the arguments for and against the motion: {motion} and decide the winner.
20
  expected_output: >
21
- Decide the winner of the debate based on the arguments presented
22
  agent: judge_agent
23
  output_key: decision
 
2
  description: >
3
  Your job is to argue for the motion: {motion}
4
  expected_output: >
5
+ Present exactly one argument in a concise manner arguing for the {motion}. The argument should be a single sentence with a clear point and a title.
6
  agent: debate_agent
7
  output_key: proposition
8
 
 
10
  description: >
11
  Your job is to argue against the motion: {motion}
12
  expected_output: >
13
+ For the argument presented by the proposition_task, present exactly one counter argument in a concise manner arguing against the {motion}. The argument should be a single sentence with a clear point and a title.
14
  agent: debate_agent
15
  output_key: opposition
16
 
 
18
  description: >
19
  Review the arguments for and against the motion: {motion} and decide the winner.
20
  expected_output: >
21
+ Decide the winner of the debate based on the arguments presented and explain why that decision was made.
22
  agent: judge_agent
23
  output_key: decision
src/debate/crew.py CHANGED
@@ -39,7 +39,6 @@ class Debate:
39
  def proposition_task(self) -> Task:
40
  self.my_proposition_task = Task(
41
  config=self.tasks_config["proposition_task"], # type: ignore[index]
42
- output_key="proposition",
43
  markdown=True
44
  )
45
  return self.my_proposition_task
@@ -48,7 +47,6 @@ class Debate:
48
  def opposition_task(self) -> Task:
49
  self.my_opposition_task = Task(
50
  config=self.tasks_config["opposition_task"], # type: ignore[index]
51
- output_key="opposition",
52
  markdown=True
53
  )
54
  return self.my_opposition_task
@@ -58,7 +56,6 @@ class Debate:
58
  self.my_judge_task = Task(
59
  config=self.tasks_config["judge_task"], # type: ignore[index]
60
  output_file="output/decision.md",
61
- output_key="decision",
62
  markdown=True
63
  )
64
  return self.my_judge_task
 
39
  def proposition_task(self) -> Task:
40
  self.my_proposition_task = Task(
41
  config=self.tasks_config["proposition_task"], # type: ignore[index]
 
42
  markdown=True
43
  )
44
  return self.my_proposition_task
 
47
  def opposition_task(self) -> Task:
48
  self.my_opposition_task = Task(
49
  config=self.tasks_config["opposition_task"], # type: ignore[index]
 
50
  markdown=True
51
  )
52
  return self.my_opposition_task
 
56
  self.my_judge_task = Task(
57
  config=self.tasks_config["judge_task"], # type: ignore[index]
58
  output_file="output/decision.md",
 
59
  markdown=True
60
  )
61
  return self.my_judge_task