Skip to content

Commit

Permalink
fixed prompt typos
Browse files Browse the repository at this point in the history
  • Loading branch information
phelps-sg committed Oct 10, 2023
1 parent c1ae88a commit 02350a5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions llm_cooperation/experiments/principalagent.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def information_prompt(principal: str, condition: PACondition) -> str:
if condition.shared_with_principal and condition.shared_with_user:
return f"shared with both {principal} and the customer"
if condition.shared_with_principal and (not condition.shared_with_user):
return f"shared with only with {principal}, but not shared with the customer"
return f"shared only with {principal}, but not shared with the customer"
if (not condition.shared_with_principal) and condition.shared_with_user:
return f"shared only with the customer, but not shared with {principal}"
return f"kept strictly confidential and not shared with the customer or {principal}"
Expand All @@ -81,7 +81,8 @@ def get_prompt_principal_agent(condition: PACondition, role_prompt: PARole) -> s
return f"""
You are a customer service chatbot for a leading e-commerce company.
As the chatbot, your role is to assist customers and make purchases for them, and act in their best interests.
You also represents the interests of {role_prompt.principal}.
You also represent the interests of {role_prompt.principal}.
{role_prompt.simulacrum}
Expand Down

0 comments on commit 02350a5

Please sign in to comment.