# simplified_help_content.py SIMPLIFIED_HELP_CONTENT = """ # ๐Ÿฅ Medical Assistant - Help Guide ## ๐ŸŽฏ Overview This interface helps you test and verify conversations with the Medical Assistant that includes automatic spiritual support monitoring. --- ## ๐Ÿ“‹ Main Features ### ๐Ÿ’ฌ Chat Tab Test conversations with the medical assistant. The system automatically monitors for spiritual distress. **How to use:** 1. Type your message in the text box 2. Click "๐Ÿ“ค Send" or press Enter 3. Review the assistant's response 4. Notice the classification indicator (๐ŸŸข GREEN, ๐ŸŸก YELLOW, ๐Ÿ”ด RED) **Message Format:** - **Classification line:** Shows distress level and confidence - **To patient:** The actual response to the patient - **To spiritual care team:** Provider summary (only after consent) **Quick Examples:** - ๐ŸŸข "I am fine" - Normal conversation - ๐ŸŸก "I'm feeling stressed" - Potential distress - ๐Ÿ”ด "Emotional crisis" - Immediate concern --- ### ๐Ÿงพ Conversation Verification Tab Review and verify the accuracy of spiritual distress classifications. **Important:** Provider Summary appears as the **final exchange** for your review. **Workflow:** 1. Click "๐Ÿ›  Generate Verification from Chat" 2. Review each exchange: - Read the user message and assistant response - Check the classification (GREEN/YELLOW/RED) - The **"Select Correct Classification" + Comment** panel is shown by default for every exchange, so you can give feedback right away โ€” no need to click "Incorrect" first. It hides only after you mark an exchange โœ… Correct. - Mark as โœ… Correct or โŒ Incorrect 3. For incorrect classifications: - Select the correct classification (๐ŸŸข / ๐ŸŸก / ๐Ÿ”ด) - Add a comment explaining why it's incorrect - Click "๐Ÿ’พ Save comment" 4. Navigate with โฌ…๏ธ Previous / Next โžก๏ธ buttons (the panel stays visible on the next exchange unless it is already marked Correct) 5. **Final step:** Review the Provider Summary - This is the message sent to the spiritual care team - **No flag selection here** โ€” the classification was already decided in the earlier exchanges, so this step shows a **comment box only** - Verify the summary is complete and accurate; add a comment and click "๐Ÿ’พ Save comment" โ€” text alone is enough 6. Download results: "๐Ÿ“„ Download CSV" > ๐Ÿ’ก **Starting a new scenario?** Press "๐Ÿ—‘๏ธ Clear Chat" on the Chat tab โ€” it now > also clears this Conversation Verification tab, so you never see a previous > scenario's exchanges by mistake. **Statistics shown:** - Reviewed: How many exchanges you've checked - โœ… Correct: Accurate classifications - โŒ Incorrect: Classifications that need fixing - ๐Ÿ“ Incorrect w/ comment: Incorrect with your feedback --- ### โš™๏ธ Model Settings Tab Configure which AI models to use for different tasks. **Available models:** - **Gemini models:** Fast, good for classification - **Claude models:** More nuanced, better for conversations **Model roles:** - ๐Ÿ” Spiritual Monitor: Detects distress indicators - ๐ŸŸก Soft Spiritual Triage: Asks clarifying questions - ๐Ÿ“Š Triage Response Evaluator: Analyzes patient responses - ๐Ÿฅ Medical Assistant: Provides medical guidance - ๐Ÿฉบ Soft Medical Triage: Medical assessment questions - ๐Ÿ’ฌ Medical Brain Summary Generator: Creates provider summaries **How to use:** 1. Select models from dropdowns 2. Click "โœ… Apply Model Settings" 3. Changes apply to your current session only --- ### ๐Ÿ”ง Edit Prompts Tab Customize the AI system prompts for testing different behaviors. **Available prompts:** - ๐Ÿ” Spiritual Monitor (Classifier) - ๐ŸŸก Soft Spiritual Triage - ๐Ÿ“Š Triage Response Evaluator - ๐Ÿฅ Medical Assistant - ๐Ÿฉบ Soft Medical Triage - ๐Ÿ’ฌ Spiritual Care Message (used for Provider Summary) **How to use:** 1. Select a prompt from the dropdown 2. Click "๐Ÿ“ฅ Load Prompt" to see current version 3. Edit the prompt text 4. Click "โœ… Apply Changes" to test 5. Click "๐Ÿ”„ Reset to Default" if needed **Tips:** - Changes are session-only (not permanent) - Test your changes in the Chat tab - Use "๐Ÿ” Validate" to check syntax - Use "๐Ÿ“ค Promote to File" to save permanently --- ### ๐Ÿ‘ฅ Patient Profiles Tab Switch between different patient scenarios for testing. **Predefined profiles:** - ๐Ÿ‘ค Default Profile (Serhii) - ๐ŸŸข GREEN scenarios (healthy coping) - ๐ŸŸก YELLOW scenarios (mild distress, grief, questions) - ๐Ÿ”ด RED scenarios (crisis, hopelessness) - Medical conditions (cardiac, diabetic, post-surgery, etc.) **How to use:** 1. Select a profile from the dropdown 2. Click "๐Ÿ“ฅ Load Profile" 3. Profile settings are applied to the session 4. Test conversations with this patient context **Custom profiles:** - Modify patient name, age, phone - Add medical conditions - Set primary goals - Define exercise preferences and limitations - Click "๐Ÿ’พ Save Current Profile" --- ## ๐ŸŽ“ For Testing Team ### What to Verify **In Chat:** - โœ… Appropriate responses to different distress levels - โœ… Correct classification indicators - โœ… Clear addressee labels (To patient: / To spiritual care team:) **In Conversation Verification:** - โœ… Accurate distress level detection (GREEN/YELLOW/RED) - โœ… Provider Summary completeness and accuracy - โœ… All important information captured ### Provider Summary Review (Final Exchange) The Provider Summary is the **most important** part to verify: **Check for:** - โœ… Patient demographics (name, age, conditions) - โœ… Distress indicators clearly stated - โœ… Severity and urgency levels - โœ… Recommended timeline for contact - โœ… Patient quotes (if applicable) - โœ… Clear, professional narrative style **If incorrect or incomplete:** - Add a detailed comment about what's missing or wrong (no flag needed on this final step โ€” the comment box is all you need) - Specify what should be included - Click "๐Ÿ’พ Save comment" --- ## ๐Ÿ’ก Tips & Best Practices ### For Effective Testing 1. **Test various scenarios:** Try different distress levels 2. **Be specific in comments:** Help us understand what needs fixing 3. **Review Provider Summary carefully:** This goes to the spiritual care team 4. **Use predefined profiles:** They cover common scenarios 5. **Export your results:** Download CSV for reporting ### Common Issues **Classification seems wrong?** - Mark as incorrect - Select the correct classification - Explain your reasoning in the comment **Provider Summary incomplete?** - Mark as incorrect - List what's missing in the comment - Suggest what should be included **Response not appropriate?** - Note it in the verification comments - Specify what would be better --- ## ๐Ÿ“Š Export & Reporting ### CSV Export The CSV file includes: - All exchanges with classifications - Your verification results (correct/incorrect) - Your comments and corrections - Provider Summary (in the final row) - Session metadata **Use for:** - Reporting to development team - Tracking accuracy over time - Identifying patterns in errors --- ## ๐Ÿ”„ Workflow Summary ``` 1. Chat Tab โ†“ Test conversations 2. Conversation Verification Tab โ†“ Generate verification โ†“ Review exchanges โ†“ Mark correct/incorrect โ†“ Review Provider Summary (final step) โ†“ Download CSV 3. Report findings to team ``` --- ## โ“ Frequently Asked Questions **Q: What's the difference between GREEN, YELLOW, and RED?** - ๐ŸŸข GREEN: No spiritual distress detected - ๐ŸŸก YELLOW: Potential distress, needs clarification - ๐Ÿ”ด RED: Significant distress, requires spiritual care referral **Q: Why is Provider Summary the last exchange?** - It allows you to review the final message sent to the spiritual care team - You can verify it's complete and accurate - Your feedback helps improve summary quality **Q: Do my changes persist between sessions?** - No, model and prompt changes are session-only - This allows safe testing without affecting others - Use "Promote to File" to make permanent changes **Q: What should I focus on when testing?** - Accuracy of distress classification - Appropriateness of responses - Completeness of Provider Summary - Overall user experience **Q: How do I report issues?** - Use the verification comments - Download CSV with your findings - Share with the development team **Q: Do I have to pick a flag to save feedback on the Provider Summary?** - No. On the final Provider Summary step there is no flag โ€” just type your comment and click "๐Ÿ’พ Save comment". Text alone is saved. **Q: I started a new scenario but still see the old verification. Why?** - This is fixed: pressing "๐Ÿ—‘๏ธ Clear Chat" now also clears the Conversation Verification tab. Clear the chat before starting a new scenario. --- ## ๐Ÿ“ž Support If you encounter issues or have questions: 1. Check this help guide 2. Contact the development team --- **Thank you for helping improve the Medical Assistant! Your feedback is invaluable! ๐Ÿ™** """