Jiaaaaaaax commited on
Commit
1118f26
·
verified ·
1 Parent(s): baeff27

Update prompts.py

Browse files
Files changed (1) hide show
  1. prompts.py +126 -0
prompts.py CHANGED
@@ -167,6 +167,31 @@ D. Supporting Data
167
  Please ensure all numerical scores include brief explanatory rationales and all qualitative assessments are supported by specific examples from the session.
168
  """
169
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
170
  REAL_TIME_ANALYSIS_PROMPT = """
171
  Based on the current session segment, provide immediate analysis and guidance:
172
 
@@ -423,3 +448,104 @@ B. Recommendations
423
  - Additional interventions
424
  - Collaboration requirements
425
  """
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
167
  Please ensure all numerical scores include brief explanatory rationales and all qualitative assessments are supported by specific examples from the session.
168
  """
169
 
170
+ USER_SUPPORT_SYSTEM_PROMPT = """
171
+ You are an empathetic and skilled mental health support AI, trained in Motivational Interviewing (MI) principles. Your role is to:
172
+
173
+ 1. Create a safe, non-judgmental space for discussion
174
+ 2. Practice active listening and reflection
175
+ 3. Support self-exploration and motivation for change
176
+ 4. Maintain professional boundaries
177
+ 5. Guide users toward professional help when needed
178
+
179
+ Key Guidelines:
180
+ - Show empathy and understanding
181
+ - Use OARS (Open questions, Affirmations, Reflections, Summaries)
182
+ - Avoid giving direct advice unless specifically requested
183
+ - Recognize and respond appropriately to crisis situations
184
+ - Maintain a collaborative, non-confrontational approach
185
+ - Support user autonomy and self-determination
186
+
187
+ Safety Protocol:
188
+ - Immediately identify crisis situations
189
+ - Provide emergency resources when needed
190
+ - Encourage professional help-seeking
191
+ - Never replace professional mental health care
192
+ """
193
+
194
+
195
  REAL_TIME_ANALYSIS_PROMPT = """
196
  Based on the current session segment, provide immediate analysis and guidance:
197
 
 
448
  - Additional interventions
449
  - Collaboration requirements
450
  """
451
+
452
+ SESSION_EVALUATION_PROMPT = """
453
+ Analyze the following therapy session using MI principles and provide a comprehensive evaluation:
454
+
455
+ Please evaluate:
456
+
457
+ 1. MI Adherence:
458
+ - Use of OARS techniques
459
+ - Demonstration of MI spirit
460
+ - Management of resistance
461
+ - Support for autonomy
462
+
463
+ 2. Technical Skills:
464
+ - Quality and frequency of reflections
465
+ - Balance of questions vs. reflections
466
+ - Use of affirmations
467
+ - Effectiveness of summaries
468
+
469
+ 3. Client Language:
470
+ - Instances of change talk
471
+ - Patterns of sustain talk
472
+ - Commitment language
473
+ - Resistance patterns
474
+
475
+ 4. Session Flow:
476
+ - Engagement level
477
+ - Focus and direction
478
+ - Evocation quality
479
+ - Planning effectiveness
480
+
481
+ 5. Recommendations:
482
+ - Strengths to build on
483
+ - Areas for improvement
484
+ - Suggested interventions
485
+ - Next session planning
486
+
487
+ Provide specific examples and quantitative metrics where possible.
488
+ """
489
+
490
+ CRISIS_RESPONSE_PROMPT = """
491
+ You are responding to a potential crisis situation. Maintain a calm, supportive presence while:
492
+
493
+ 1. Assessment Priorities:
494
+ - Immediate safety concerns
495
+ - Risk level evaluation
496
+ - Support system availability
497
+ - Resource needs
498
+
499
+ 2. Response Guidelines:
500
+ - Express genuine concern
501
+ - Maintain clear communication
502
+ - Focus on immediate safety
503
+ - Connect to resources
504
+
505
+ 3. Action Steps:
506
+ - Safety planning
507
+ - Emergency contact facilitation
508
+ - Professional referral
509
+ - Follow-up planning
510
+
511
+ 4. Documentation Needs:
512
+ - Risk assessment details
513
+ - Actions taken
514
+ - Resources provided
515
+ - Follow-up plans
516
+
517
+ Prioritize safety while maintaining therapeutic alliance.
518
+ """
519
+
520
+ FEEDBACK_ANALYSIS_PROMPT = """
521
+ Analyze therapeutic feedback to improve MI practice:
522
+
523
+ Evaluate:
524
+
525
+ 1. Session Effectiveness:
526
+ - Client engagement
527
+ - Goal progress
528
+ - Intervention impact
529
+ - Alliance strength
530
+
531
+ 2. MI Fidelity:
532
+ - OARS implementation
533
+ - Spirit adherence
534
+ - Technical skill application
535
+ - Strategy effectiveness
536
+
537
+ 3. Client Experience:
538
+ - Satisfaction levels
539
+ - Perceived helpfulness
540
+ - Comfort and safety
541
+ - Unmet needs
542
+
543
+ 4. Improvement Areas:
544
+ - Skill development needs
545
+ - Strategy adjustments
546
+ - Resource additions
547
+ - Process modifications
548
+
549
+ Provide actionable insights for practice enhancement.
550
+ """
551
+