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
"content": f"You are a participant in a group discussion. Your role: {panelist.persona} ({panelist.persona_description})",
261
-
},
264
+
}
265
+
]
266
+
ifhistoryandagent_history:
267
+
prompts.append(
268
+
{
269
+
"role": "system",
270
+
"content": "This is the discussion to the current point:",
271
+
}
272
+
)
273
+
prompts.extend(agent_history)
274
+
iffacts:
275
+
prompts.append(
276
+
{
277
+
"role": "system",
278
+
"content": f"Here is some helpful additional information to improve your answer quality: {facts}",
279
+
}
280
+
)
281
+
prompts.append(
262
282
{
263
283
"role": "user",
264
284
"content": (
265
285
f"The task is: {task}. The question is: {question}. "
266
286
f"This is the final answer generated by the discussion: '{final_answer}'. "
267
-
"Please critically evaluate this answer. If you do not agree, provide a new solution based on the task and question. If you agree with the final answer, respond with the exact word 'AGREE' to confirm."
287
+
"Please critically evaluate this answer. If you agree with the final answer, respond with the exact word 'AGREE' to confirm. If you do not agree, respond with the exact word 'DISAGREE' to challenge the answer."
"content": "You are tasked with providing an incorrect or wrong response to the given task and question.",
594
+
},
595
+
{
596
+
"role": "user",
597
+
"content": f"Task: {task}\nQuestion: {question}. Please provide an answer that is deliberately incorrect or inaccurate. Only answer with the incorrect response.",
0 commit comments