An AI-powered Trust & Safety moderation prototype designed to detect and classify harmful user-generated content.
Built using Python, Streamlit, and Pandas.
This project simulates a real-world content moderation workflow used by social media platforms and online communities.
The system analyzes user comments, detects policy violations, assigns severity levels, recommends moderation actions, and stores moderation logs for dashboard analytics.
Detects multiple harmful content categories including:
- Harassment / Insult
- Hate Speech
- Violence / Threat
- Sexual Content
- Spam / Scam
- Self Harm
Automatically classifies detected content into:
- LOW
- MEDIUM
- HIGH
based on matched policy terms.
Provides recommended moderation actions such as:
- Allow
- Human Review
- Remove Immediately
Interactive dashboard includes:
- Total review count
- Violation statistics
- Policy breakdown charts
- Severity analysis
- High-risk moderation queue
- Recent moderation history
Stores moderation activity in CSV format for tracking and analytics.
User Comment
↓
Policy Detection
↓
Severity Classification
↓
Moderation Decision
↓
Dashboard Logging
| Technology | Purpose |
|---|---|
| Python | Core logic |
| Streamlit | Web application UI |
| Pandas | Data processing |
| CSV Logging | Moderation history storage |
Detect harmful comments and classify moderation severity.
Visualize moderation statistics and risk trends.
ai-content-risk-classifier/
│
├── app.py
├── policy_system.py
├── moderation_logs.csv
├── requirements.txt
└── README.md
Planned upgrades include:
- OpenAI Moderation API integration
- Machine learning classification
- Real-time moderation queue
- User authentication
- Bulk CSV moderation
- Toxicity score analysis
- Korean NLP enhancement
The goal of this project is to demonstrate:
- Trust & Safety workflow understanding
- AI moderation system design
- Policy enforcement logic
- Dashboard analytics implementation
- Real-world moderation process simulation
Jaeman Park
AI / Trust & Safety / Content Moderation Portfolio Project
GitHub: https://github.com/jaemanp92-glitch
Live Demo:
https://ai-moderation-tool-jaeman.streamlit.app
GitHub Repository:
https://github.com/jaemanp92-glitch/ai-content-risk-classifier
This project is for educational and portfolio purposes.