Initial commit: Telegram Management System
Some checks failed
Deploy / deploy (push) Has been cancelled
Some checks failed
Deploy / deploy (push) Has been cancelled
Full-stack web application for Telegram management - Frontend: Vue 3 + Vben Admin - Backend: NestJS - Features: User management, group broadcast, statistics 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
32
marketing-agent/services/safety-guard/.env.example
Normal file
32
marketing-agent/services/safety-guard/.env.example
Normal file
@@ -0,0 +1,32 @@
|
||||
# Service Configuration
|
||||
PORT=3004
|
||||
HOST=0.0.0.0
|
||||
NODE_ENV=development
|
||||
LOG_LEVEL=info
|
||||
|
||||
# MongoDB Configuration
|
||||
MONGODB_URI=mongodb://localhost:27017/safety-guard
|
||||
|
||||
# Redis Configuration
|
||||
REDIS_HOST=localhost
|
||||
REDIS_PORT=6379
|
||||
REDIS_PASSWORD=
|
||||
REDIS_DB=2
|
||||
|
||||
# OpenAI Configuration (for AI-based moderation)
|
||||
OPENAI_API_KEY=your-openai-api-key
|
||||
|
||||
# Google Cloud Configuration (for Natural Language API)
|
||||
GOOGLE_CLOUD_PROJECT=your-project-id
|
||||
GOOGLE_APPLICATION_CREDENTIALS=/path/to/credentials.json
|
||||
|
||||
# Custom Configuration
|
||||
CUSTOM_BAD_WORDS=word1,word2,word3
|
||||
|
||||
# Rate Limiting Defaults
|
||||
DEFAULT_RATE_LIMIT_POINTS=100
|
||||
DEFAULT_RATE_LIMIT_DURATION=60
|
||||
|
||||
# Moderation Thresholds
|
||||
DEFAULT_RISK_THRESHOLD=0.7
|
||||
DEFAULT_SENTIMENT_THRESHOLD=-0.5
|
||||
Reference in New Issue
Block a user