--- title: Relationship Pattern Analyzer Pro emoji: 🛡️ colorFrom: blue colorTo: purple sdk: gradio sdk_version: 4.0.0 app_file: app.py pinned: false license: mit --- # Relationship Pattern Analyzer Pro This application analyzes communication patterns in relationships to identify potentially concerning behaviors, including: - Abusive language patterns (gaslighting, control, guilt-tripping, etc.) - Boundary health assessment - Emotional tone analysis - Temporal patterns and escalation detection - Safety planning recommendations ## Features - **Chat Analysis**: Upload an entire chat history to analyze communication patterns over time - **Temporal Analysis**: Detect escalation patterns, cycles of abuse, and time-based trends - **Boundary Health**: Assess whether messages demonstrate healthy or unhealthy relational boundaries - **Intent Analysis**: Identify manipulative tactics and emotional tone - **Safety Planning**: Get personalized safety recommendations based on detected patterns - **Professional Insights**: View recommendations for professional intervention ## Usage 1. Upload a chat history file (CSV, XLSX, or JSON) 2. Click "Analyze Chat History" to process the entire conversation 3. View the summary, visualizations, and safety recommendations 4. Alternatively, use the "Single Message Analysis" tab to analyze individual messages ## File Format Requirements Your chat history file should contain at least these columns: - `timestamp` or `time` or `date` - When the message was sent - `message` or `text` or `content` - The message content - `sender` or `author` or `from` (optional) - Who sent the message ## Privacy Notice Your data is processed locally and is not stored or shared. This tool is for educational purposes only and not a substitute for professional counseling or legal advice. ## Emergency Resources - **National Domestic Violence Hotline**: 1-800-799-7233 - **Crisis Text Line**: Text START to 88788 - **Emergency**: Call 911