DocUA commited on
Commit
31d7ffb
Β·
1 Parent(s): ef61786

feat: Add configurable content options for spiritual care messages in UI and backend, replacing a static prompt template.

Browse files
Files changed (2) hide show
  1. README.md +4 -3
  2. src/interface/help_content.py +10 -3
README.md CHANGED
@@ -421,17 +421,18 @@ The Medical Assistant with Spiritual Support system is **fully functional and pr
421
  ---
422
 
423
  **Version:** 2.1
424
- **Last Updated:** December 18, 2025
425
  **Status:** βœ… Production Ready
426
  **Test Coverage:** 65/65 tests passing
427
 
428
- ### πŸ†• Latest Updates (v2.1)
429
 
430
  #### Spiritual Care Message Features
431
  - **πŸ’¬ LLM-Generated Messages**: Compassionate, natural language messages for spiritual care team
 
 
432
  - **πŸ”§ Prompt Editing**: Full support for editing Spiritual Care Message prompt in Edit Prompts tab
433
  - **βš™οΈ Model Selection**: Dedicated model configuration for message generation
434
- - **πŸ“‹ Patient Context**: Automatic inclusion of patient age, medical conditions, and goals
435
  - **🌐 Auto-Language Detection**: Messages adapt to conversation language
436
 
437
  #### Enhanced Integration
 
421
  ---
422
 
423
  **Version:** 2.1
424
+ **Last Updated:** December 19, 2025
425
  **Status:** βœ… Production Ready
426
  **Test Coverage:** 65/65 tests passing
427
 
428
+ ### πŸ†• Latest Updates (v2.2)
429
 
430
  #### Spiritual Care Message Features
431
  - **πŸ’¬ LLM-Generated Messages**: Compassionate, natural language messages for spiritual care team
432
+ - **βš™οΈ Configurable Content**: Granular control over message context (Conversation, Situation, Indicators, Profile)
433
+ - **πŸ”’ Privacy Controls**: Default settings prioritize anonymity
434
  - **πŸ”§ Prompt Editing**: Full support for editing Spiritual Care Message prompt in Edit Prompts tab
435
  - **βš™οΈ Model Selection**: Dedicated model configuration for message generation
 
436
  - **🌐 Auto-Language Detection**: Messages adapt to conversation language
437
 
438
  #### Enhanced Integration
src/interface/help_content.py CHANGED
@@ -117,9 +117,16 @@ You can customize how these messages are generated:
117
  3. Alternative: Gemini models for different tone
118
  4. Changes apply to your session only
119
 
 
 
 
 
 
 
 
120
  ### Message Features:
121
  - **Auto-detects language** from conversation context
122
- - **Includes medical background** when relevant to understanding distress
123
  - **Patient-centered** - emphasizes their feelings and struggles
124
  - **Actionable** - clear urgency and follow-up timeline
125
  - **Compassionate** - uses empathetic, caring language
@@ -315,9 +322,9 @@ The **Patient Profiles** tab includes comprehensive test scenarios:
315
  ### Version Information:
316
  - **System Version**: 2.1
317
  - **Test Coverage**: 65/65 tests passing
318
- - **Last Updated**: December 18, 2025
319
  - **Status**: Production Ready
320
- - **New Features**: Spiritual Care Message prompt editing and model selection
321
 
322
  ---
323
 
 
117
  3. Alternative: Gemini models for different tone
118
  4. Changes apply to your session only
119
 
120
+ **Choose Message Content (in Care Team Message tab):**
121
+ You can selectively include or exclude information blocks:
122
+ - β˜‘οΈ **Include Conversation Context (Chat & Triage)** (Default: ON) - Raw chat history and triage exchanges.
123
+ - β˜‘οΈ **Include Distress Indicators** (Default: ON) - Detected signs of spiritual distress.
124
+ - ⬜ **Include Situation Analysis** (Default: OFF) - System-generated summary of the situation (may include medical context).
125
+ - ⬜ **Include Patient Profile** (Default: OFF) - Specific patient identifiers (Name, Phone) and medical history.
126
+
127
  ### Message Features:
128
  - **Auto-detects language** from conversation context
129
+ - **Privacy-Focused** - Controls for excluding sensitive info
130
  - **Patient-centered** - emphasizes their feelings and struggles
131
  - **Actionable** - clear urgency and follow-up timeline
132
  - **Compassionate** - uses empathetic, caring language
 
322
  ### Version Information:
323
  - **System Version**: 2.1
324
  - **Test Coverage**: 65/65 tests passing
325
+ - **Last Updated**: December 19, 2025
326
  - **Status**: Production Ready
327
+ - **New Features**: Configurable message content, Prompt editing, Model selection
328
 
329
  ---
330