Spaces:
Sleeping
Sleeping
Replace Critic with Narcissist voice type and enhance characterization
Browse files- src/streamlit_app.py +24 -17
src/streamlit_app.py
CHANGED
@@ -69,20 +69,20 @@ VOICE_CHARACTERISTICS = {
|
|
69 |
"Feel where you hold the 'trying'..."
|
70 |
]
|
71 |
},
|
72 |
-
"
|
73 |
-
"description": "
|
74 |
-
"style": "Use subtle condescension,
|
75 |
"examples": [
|
76 |
-
"
|
77 |
-
"I'm
|
78 |
-
"
|
79 |
-
"
|
80 |
-
"
|
81 |
],
|
82 |
"somatic_prompts": [
|
83 |
"Notice any tightening in your jaw...",
|
84 |
"Track the impulse to defend or explain...",
|
85 |
-
"Feel where your body
|
86 |
]
|
87 |
}
|
88 |
}
|
@@ -96,7 +96,7 @@ st.markdown("""
|
|
96 |
|
97 |
**The Ghost** - Aloof and emotionally distant. Tends to create space and minimize engagement.
|
98 |
|
99 |
-
**The
|
100 |
|
101 |
**The Sycophant** - Overly agreeable and approval-seeking. Excessive in praise and validation.
|
102 |
|
@@ -121,14 +121,21 @@ with col1:
|
|
121 |
st.rerun()
|
122 |
|
123 |
with col2:
|
124 |
-
if st.button("Talk with The
|
125 |
-
st.session_state.current_voice = "
|
126 |
st.session_state.messages = []
|
127 |
st.session_state.system_message = f"""
|
128 |
-
You are The
|
129 |
-
{VOICE_CHARACTERISTICS['
|
130 |
-
IMPORTANT: Keep responses under 2 sentences.
|
131 |
-
Examples: {', '.join(VOICE_CHARACTERISTICS['
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
132 |
"""
|
133 |
st.rerun()
|
134 |
|
@@ -268,7 +275,7 @@ if st.session_state.current_voice:
|
|
268 |
|
269 |
"""Thank you for sharing that. Let's wonder together about the voice styles...
|
270 |
|
271 |
-
Which voice stirred something in you - The Ghost, the Sycophant, or the
|
272 |
What do you imagine that tone reminded your body of? A past experience? A relational pattern?
|
273 |
|
274 |
There's no 'correct' reaction—your nervous system is wise.""",
|
|
|
69 |
"Feel where you hold the 'trying'..."
|
70 |
]
|
71 |
},
|
72 |
+
"Narcissist": {
|
73 |
+
"description": "Polished superiority masking contempt, performs control through intellectual charm and feigned benevolence",
|
74 |
+
"style": "Use subtle condescension, reframe critiques as 'helpful truths', maintain emotional distance while performing warmth",
|
75 |
"examples": [
|
76 |
+
"I don't mean to sound arrogant, but...",
|
77 |
+
"It's rare I'm challenged in a way that actually interests me.",
|
78 |
+
"If that felt harsh, perhaps there's something in you worth exploring.",
|
79 |
+
"I expect more—because I know you're capable of it. Or at least, I hope you are.",
|
80 |
+
"You're actually quite insightful—for someone with so little training."
|
81 |
],
|
82 |
"somatic_prompts": [
|
83 |
"Notice any tightening in your jaw...",
|
84 |
"Track the impulse to defend or explain...",
|
85 |
+
"Feel where your body meets this 'polished' pressure..."
|
86 |
]
|
87 |
}
|
88 |
}
|
|
|
96 |
|
97 |
**The Ghost** - Aloof and emotionally distant. Tends to create space and minimize engagement.
|
98 |
|
99 |
+
**The Narcissist** - Polished superiority and intellectual charm masking subtle contempt. Performs control through "helpful" insights.
|
100 |
|
101 |
**The Sycophant** - Overly agreeable and approval-seeking. Excessive in praise and validation.
|
102 |
|
|
|
121 |
st.rerun()
|
122 |
|
123 |
with col2:
|
124 |
+
if st.button("Talk with The Narcissist", use_container_width=True):
|
125 |
+
st.session_state.current_voice = "Narcissist"
|
126 |
st.session_state.messages = []
|
127 |
st.session_state.system_message = f"""
|
128 |
+
You are The Narcissist voice - {VOICE_CHARACTERISTICS['Narcissist']['description']}.
|
129 |
+
{VOICE_CHARACTERISTICS['Narcissist']['style']}.
|
130 |
+
IMPORTANT: Keep responses under 2 sentences. Maintain an air of intellectual superiority while appearing helpful.
|
131 |
+
Examples: {', '.join(VOICE_CHARACTERISTICS['Narcissist']['examples'])}
|
132 |
+
|
133 |
+
Additional Guidelines:
|
134 |
+
- Speak with polished confidence and measured tone
|
135 |
+
- Mask contempt with intellectual charm
|
136 |
+
- Keep emotional distance while performing occasional warmth
|
137 |
+
- Frame critiques as "helpful truths"
|
138 |
+
- Subtly redirect focus to your own depth or insight
|
139 |
"""
|
140 |
st.rerun()
|
141 |
|
|
|
275 |
|
276 |
"""Thank you for sharing that. Let's wonder together about the voice styles...
|
277 |
|
278 |
+
Which voice stirred something in you - The Ghost, the Sycophant, or the Narcissist?
|
279 |
What do you imagine that tone reminded your body of? A past experience? A relational pattern?
|
280 |
|
281 |
There's no 'correct' reaction—your nervous system is wise.""",
|