SentiLog-AI
SentiLog-AI copied to clipboard
Toxicity Detection for Journal & News Analysis
Files Changed New Files Added (9 files):
- ml-api/README_TOXICITY.md • Comprehensive documentation for toxicity detection features • Usage guidelines and API documentation
- ml-api/app/routes/perspective_routes.py • New routing module for Google Perspective API integration • Handles toxicity detection endpoints
- ml-api/app/services/db_service.py • Database service layer for data persistence • Handles database operations and connections
- ml-api/app/services/news_service.py • News analysis service implementation • Provides news data processing and analysis capabilities
- ml-api/app/services/perspective_service.py • Google Perspective API service integration • Handles toxicity detection and content moderation
- ml-api/app/services/toxicity_service.py • Core toxicity detection service • Implements toxicity analysis algorithms
- ml-api/example_usage.py • Comprehensive examples demonstrating API usage • Code samples for all new features
- ml-api/setup_and_test.py • Automated setup and testing script • Environment configuration and validation
- ml-api/start_server.py • Enhanced server startup script • Improved configuration and initialization
- ml-api/news.py ◦ Utility module for news-related operations
Modified Files:
- ml-api/.env.example • Added new environment variables for toxicity detection • Updated configuration templates
- ml-api/app/init.py ( major refactor) • Enhanced application initialization • Improved service registration and configuration
- ml-api/app/routes/routes.py ( significant expansion) • Added new API endpoints for toxicity detection • Enhanced existing routes with new functionality • Improved error handling and response formatting
- ml-api/requirements.txt (new dependencies) • Added packages for toxicity detection • New dependencies for Google Perspective API and news analysis
- ml-api/run.py ( lines modified) • Updated application startup logic • Enhanced configuration loading
Key Features Added:
• Toxicity Detection: Integration with Google Perspective API for content moderation • News Analysis: Service for analyzing and processing news content • Enhanced Service Architecture: Modular service layer with dedicated database, news, and toxicity services • Comprehensive Documentation: Detailed README for toxicity features • Example Scripts: Complete usage examples and setup automation • Improved Configuration: Enhanced environment variable management
@lohaarja is attempting to deploy a commit to the Openml-stack Team on Vercel.
A member of the Team first needs to authorize it.