DocUA commited on
Commit
d53dcd4
·
1 Parent(s): be4e809

feat: Add XML-style tags to prompts for better structure

Browse files

Prompts updated with XML-like tags:
- <system_role> - defines the AI's role
- <classification_categories> - defines categories
- <category> - individual category definitions
- <critical_rules> - important rules
- <guidelines> - behavioral guidelines
- <examples> - example outputs
- <output_format> - expected format
- <scratchpad> - thinking process
- <outcome_categories> - possible outcomes
- <evaluation_process> - step-by-step process

HTML formatter updated to:
- Highlight XML tags in blue/purple
- Highlight attributes in green/orange
- Preserve code-like appearance with monospace font
- Better visual hierarchy

3 files changed +176 -59
Files changed (3)
src/core/soft_triage_manager.py+86-28
src/core/spiritual_monitor.py+62-15
src/interface/simplified_gradio_app.py+28-16