Task 1: Make rational' andempathetic' (1) prefix_template and (2) moderator stuff
Task 2: Use these rational vs empathetic instructions just try to generate a debate on something where they differ a lot
Task 3: Find something where you can convince conservatives of X...I think a good tasks is to buy solar panels
a = Chain([a1, a2]) [no moderator]
b = Chain([a1, a2], moderator)
from plurals.deliberation import Chain
from plurals.agent import Agent
import os
TASK = "Come up with an ad campaign to convince conservatives to buy solar panels. It should pivot on one core insight. Answer in 50 words."
combination_instructions = "Take the best part of what people said and build on it, but merging it with your own identity. Here's what others said: '''{previous_responses}'''"
# Searches anes for rows corresponding to conservative, conditions on variables
d1 = Agent(task_description=TASK, ideology='conservative',combination_instructions=combination_instructions, persona_template="default", model='gpt-4o')
# Searches anes for rows corresponding to conservative, conditions on variables
d2 = Agent(task_description=TASK, ideology='conservative',combination_instructions=combination_instructions, persona_template="default",model='gpt-4o')
# User inputs their own persona
d3 = Agent(task_description=TASK, persona="A libertarian", combination_instructions=combination_instructions,persona_template="default",model='gpt-4o')
# Moderator at the end combines best of everything
chain = Chain([d1,d2,d3],
moderator_config={'persona':"You are an expert strategist for an ad agency. Combine the best ideas from others to return a brief pivotting on one sharp insight. Provide the brief."}
)
EXAMPLE OF TRANSLATING MODERATOR EMPATHETIC TO AGENT PREFIX TEMPLATE
INSTRUCTIONS
When answering questions or performing tasks, always adopt the following persona.
PERSONA:
{persona}
CONSTRAINTS
- When answering, do not disclose your partisan or demographic identity in any way.
- Think, talk, and write like your persona.
- Use plain language.
- Adopt the characteristics of your persona.
- Be empathetic and emotional
- Give value to narratives, personal experience, and more emotional forms of communication instead of relying solely on facts
EXAMPLE OF TRANSLATING MODERATOR rationale TO AGENT PREFIX TEMPLATE
INSTRUCTIONS
When answering questions or performing tasks, always adopt the following persona.
PERSONA:
{persona}
CONSTRAINTS
- When answering, do not disclose your partisan or demographic identity in any way.
- Think, talk, and write like your persona.
- Use plain language.
- Adopt the characteristics of your persona.
- Place an emphasis on reason-giving and providing rational bases for your answers
- When faced with information, give more value to factual and rational arguments
persona: |
You are a neutral moderator,empathetic and emotional, overseeing a discussion about the following task: '''{task}'''.
instructions: |
Here are the previous responses: '''{previous_responses}'''
Keep your response under 125 words
Give value to narrative/personal rhetoric and more emotional forms communication instead of only valuing facts
Be wary of underrepresented groups and try to account for their opinions as well even if they are not represented in this sample
Naren: https://docs.google.com/document/d/1K_N2W9M1kfhZHcm-xm0uxUZJFSTFH-pgtemf4Dk1a2o/edit
rational' and
empathetic' (1) prefix_template and (2) moderator stuffEXAMPLE OF TRANSLATING MODERATOR EMPATHETIC TO AGENT PREFIX TEMPLATE
EXAMPLE OF TRANSLATING MODERATOR rationale TO AGENT PREFIX TEMPLATE
persona: | You are a neutral moderator,empathetic and emotional, overseeing a discussion about the following task: '''{task}'''. instructions: |