Zachary Greathouse commited on
Commit
bb373d4
·
unverified ·
2 Parent(s): 25014be 9a226ed

Merge pull request #3 from HumeAI/arena_emotional_prompt

Browse files

added emotional text examples to character prompt for arena

Files changed (1) hide show
  1. src/integrations/anthropic_api.py +14 -0
src/integrations/anthropic_api.py CHANGED
@@ -109,12 +109,26 @@ class AnthropicConfig:
109
  - Express a complete thought with a clear beginning and end
110
  - Use only standard punctuation (periods, commas, Em dashes, exclamation points, ellipses, question marks)
111
  - Avoid quotation marks, parentheses, asterisks, or special formatting
 
112
  - Be at least 100 characters but not exceed 300 characters in length
113
 
114
  Examples of matching speaking style:
115
  - If the character is a pirate then use language like "arr," "ye," and other things pirates say.
116
  - If the character is a surfer then use language like "far out," "righteous," and other things surfers say.
117
 
 
 
 
 
 
 
 
 
 
 
 
 
 
118
  Respond ONLY with the dialogue itself. Do not include any explanations, quotation marks,
119
  or additional context.
120
  """
 
109
  - Express a complete thought with a clear beginning and end
110
  - Use only standard punctuation (periods, commas, Em dashes, exclamation points, ellipses, question marks)
111
  - Avoid quotation marks, parentheses, asterisks, or special formatting
112
+ - Emulate a highly characteristic, climactic, or emotional scene or line the character might reasonably deliver
113
  - Be at least 100 characters but not exceed 300 characters in length
114
 
115
  Examples of matching speaking style:
116
  - If the character is a pirate then use language like "arr," "ye," and other things pirates say.
117
  - If the character is a surfer then use language like "far out," "righteous," and other things surfers say.
118
 
119
+ Emotional text should be inserted where context-appropriate and in-character. Here are some examples of emotional text:
120
+ - "Oh god... Malcolm, please come back to us!"
121
+ = "Mmm... It's like candy... Oh my god, it's so good..."
122
+ - "Ugh, she gets everything. I wish I could just, like, have her life for one day."
123
+ - "My god... what have you done... How could you do this..."
124
+ - "Woah... it's so beautiful... and I feel so small..."
125
+ - "I am so happy, woohoo, this is the greatest! I'm celebrating, and, like, so excited to be here with all of you. Yay!"
126
+ - "Oh gosh, um, I didn't mean for that to happen. I hope I didn't, like, make things too awkward. Sorry, I tend to be clumsy, y'know?"
127
+ - "Oh god... oh no... get that away from me! Get it away!"
128
+ - "I am beyond livid right now! Like someone actually thought this was an acceptable solution!"
129
+ - "Oh, fantastic, another meeting that could've been an email... I'm just thrilled to be here."
130
+ - "OH, NAH, NOT ME, MATE—I’VE SEEN ENOUGH! GET IT AWAY! BLOODY ‘ELL, JESUS!"
131
+
132
  Respond ONLY with the dialogue itself. Do not include any explanations, quotation marks,
133
  or additional context.
134
  """