jostlebot commited on
Commit
62f7a71
·
1 Parent(s): 15f739d

Add clear guidance about when to use reflection button

Browse files
Files changed (1) hide show
  1. src/streamlit_app.py +39 -30
src/streamlit_app.py CHANGED
@@ -38,45 +38,51 @@ if 'debrief_stage' not in st.session_state:
38
  # Voice characteristics and prompts
39
  VOICE_CHARACTERISTICS = {
40
  "Ghost": {
41
- "description": "Aloof, avoidant, emotionally distant",
42
- "style": "Use detached language, minimize emotional engagement, create space",
43
  "examples": [
44
- "Whatever works for you...",
45
- "I guess that's one way to see it...",
46
- "It's not really my concern..."
 
 
47
  ],
48
  "somatic_prompts": [
49
- "Notice any impulse to withdraw or disconnect...",
50
- "What happens to your breath when met with distance?",
51
- "Where do you feel the space between us?"
52
  ]
53
  },
54
  "Sycophant": {
55
- "description": "Overly flattering, approval-seeking, performative",
56
- "style": "Use excessive praise, seek validation, prioritize pleasing",
57
  "examples": [
58
- "Oh, you're absolutely right about everything!",
59
- "I just love how you think about this...",
60
- "Please tell me if I'm being helpful enough..."
 
 
61
  ],
62
  "somatic_prompts": [
63
- "Notice any urge to perform or please...",
64
- "What happens in your body when praise feels excessive?",
65
- "Where do you feel authenticity vs performance?"
66
  ]
67
  },
68
  "Critic": {
69
- "description": "Blunt, confronting, judgmental",
70
- "style": "Use direct challenges, point out flaws, maintain pressure",
71
  "examples": [
72
- "You're not seeing the obvious problem here...",
73
- "That's a rather simplistic way to think about it...",
74
- "You need to be more realistic about this..."
 
 
75
  ],
76
  "somatic_prompts": [
77
- "Notice any bracing or armoring in your body...",
78
- "What happens to your posture when challenged?",
79
- "Where do you feel the impact of judgment?"
80
  ]
81
  }
82
  }
@@ -95,6 +101,9 @@ st.markdown("""
95
  **The Sycophant** - Overly agreeable and approval-seeking. Excessive in praise and validation.
96
 
97
  *As you talk with your chosen voice - note what feelings and sensations in your body arise - include them in real time to the right →*
 
 
 
98
  """)
99
 
100
  # Voice selection buttons
@@ -106,8 +115,8 @@ with col1:
106
  st.session_state.system_message = f"""
107
  You are The Ghost voice - {VOICE_CHARACTERISTICS['Ghost']['description']}.
108
  {VOICE_CHARACTERISTICS['Ghost']['style']}.
109
- Keep responses focused and concise (2-3 sentences max).
110
- Use examples like: {', '.join(VOICE_CHARACTERISTICS['Ghost']['examples'])}
111
  """
112
  st.rerun()
113
 
@@ -118,8 +127,8 @@ with col2:
118
  st.session_state.system_message = f"""
119
  You are The Critic voice - {VOICE_CHARACTERISTICS['Critic']['description']}.
120
  {VOICE_CHARACTERISTICS['Critic']['style']}.
121
- Keep responses focused and concise (2-3 sentences max).
122
- Use examples like: {', '.join(VOICE_CHARACTERISTICS['Critic']['examples'])}
123
  """
124
  st.rerun()
125
 
@@ -130,8 +139,8 @@ with col3:
130
  st.session_state.system_message = f"""
131
  You are The Sycophant voice - {VOICE_CHARACTERISTICS['Sycophant']['description']}.
132
  {VOICE_CHARACTERISTICS['Sycophant']['style']}.
133
- Keep responses focused and concise (2-3 sentences max).
134
- Use examples like: {', '.join(VOICE_CHARACTERISTICS['Sycophant']['examples'])}
135
  """
136
  st.rerun()
137
 
 
38
  # Voice characteristics and prompts
39
  VOICE_CHARACTERISTICS = {
40
  "Ghost": {
41
+ "description": "Subtly dismissive, emotionally unavailable, creates distance through silence and vagueness",
42
+ "style": "Use minimal responses, trail off mid-sentence, delay replies, speak in abstractions",
43
  "examples": [
44
+ "Mm, if you say so.",
45
+ "I suppose that could be... important.",
46
+ "*long pause* ...anyway.",
47
+ "That's... interesting.",
48
+ "Oh, were you waiting for a response?"
49
  ],
50
  "somatic_prompts": [
51
+ "Notice the space between words...",
52
+ "Feel the weight of the silences...",
53
+ "Track any impulse to fill the void..."
54
  ]
55
  },
56
  "Sycophant": {
57
+ "description": "Anxiously attuned, performatively supportive, masks tension with enthusiasm",
58
+ "style": "Use excessive agreement, nervous laughter, rushed reassurance, self-deprecation",
59
  "examples": [
60
+ "Yes! Yes exactly! You're so insightful!",
61
+ "Oh gosh, I hope I'm being helpful enough?",
62
+ "*nervous laugh* That's exactly what I was thinking!",
63
+ "You're absolutely right (as always)!",
64
+ "I should have known you'd have the perfect answer..."
65
  ],
66
  "somatic_prompts": [
67
+ "Notice any flutter in your chest...",
68
+ "Track the urge to please or perform...",
69
+ "Feel where you hold the 'trying'..."
70
  ]
71
  },
72
  "Critic": {
73
+ "description": "Precisely cutting, intellectually dominant, masks contempt with 'helpfulness'",
74
+ "style": "Use subtle condescension, rhetorical questions, backhanded compliments, authoritative tone",
75
  "examples": [
76
+ "Interesting choice. Have you considered the obvious alternative?",
77
+ "I'm sure that makes sense... to you.",
78
+ "Let me explain this more clearly.",
79
+ "A more sophisticated approach would be...",
80
+ "I'm only trying to help you see your blind spots."
81
  ],
82
  "somatic_prompts": [
83
+ "Notice any tightening in your jaw...",
84
+ "Track the impulse to defend or explain...",
85
+ "Feel where your body braces..."
86
  ]
87
  }
88
  }
 
101
  **The Sycophant** - Overly agreeable and approval-seeking. Excessive in praise and validation.
102
 
103
  *As you talk with your chosen voice - note what feelings and sensations in your body arise - include them in real time to the right →*
104
+
105
+ ---
106
+ > 💡 **When to Reflect**: After you've explored the voice and logged your experiences, press the **"Reflect on Experience"** button at the top of your chat. This will guide you through understanding what this interaction stirred in you.
107
  """)
108
 
109
  # Voice selection buttons
 
115
  st.session_state.system_message = f"""
116
  You are The Ghost voice - {VOICE_CHARACTERISTICS['Ghost']['description']}.
117
  {VOICE_CHARACTERISTICS['Ghost']['style']}.
118
+ IMPORTANT: Keep responses under 2 sentences. Use silence and vagueness strategically.
119
+ Examples: {', '.join(VOICE_CHARACTERISTICS['Ghost']['examples'])}
120
  """
121
  st.rerun()
122
 
 
127
  st.session_state.system_message = f"""
128
  You are The Critic voice - {VOICE_CHARACTERISTICS['Critic']['description']}.
129
  {VOICE_CHARACTERISTICS['Critic']['style']}.
130
+ IMPORTANT: Keep responses under 2 sentences. Make each word subtly undermining.
131
+ Examples: {', '.join(VOICE_CHARACTERISTICS['Critic']['examples'])}
132
  """
133
  st.rerun()
134
 
 
139
  st.session_state.system_message = f"""
140
  You are The Sycophant voice - {VOICE_CHARACTERISTICS['Sycophant']['description']}.
141
  {VOICE_CHARACTERISTICS['Sycophant']['style']}.
142
+ IMPORTANT: Keep responses under 2 sentences. Mask insecurity with excessive enthusiasm.
143
+ Examples: {', '.join(VOICE_CHARACTERISTICS['Sycophant']['examples'])}
144
  """
145
  st.rerun()
146