EnCoach Odoo 19 custom modules
Full backend implementation with custom Odoo modules: - encoach_api: Core API, user management, JWT auth - encoach_exam: Exam generation (reading, writing, listening, speaking) - encoach_evaluate: AI-powered evaluation (writing, speaking) - encoach_training: Training tips and walkthrough - encoach_storage: File storage management - encoach_payment: Stripe, PayPal, Paymob integration - encoach_mail: Email notifications Made-with: Cursor
This commit is contained in:
59
encoach_ai/models/constants.py
Normal file
59
encoach_ai/models/constants.py
Normal file
@@ -0,0 +1,59 @@
|
||||
BLACKLISTED_WORDS = [
|
||||
"alcohol", "atheism", "beer", "bible", "blasphemy",
|
||||
"buddha", "buddhism", "cannabis", "casino", "christ",
|
||||
"christianity", "church", "cocaine", "communist", "condom",
|
||||
"corruption", "crucifixion", "cult", "drug", "drugs",
|
||||
"erotic", "extremism", "gambling", "gay", "god",
|
||||
"gods", "gospel", "haram", "heresy", "heroin",
|
||||
"hindu", "hinduism", "homosexual", "idol", "infidel",
|
||||
"islam", "islamic", "israeli", "jesus", "jew",
|
||||
"jewish", "jihad", "judaism", "lesbian", "liquor",
|
||||
"marijuana", "mosque", "muhammad", "muslim", "naked",
|
||||
"nazi", "nude", "pagan", "pig", "pork",
|
||||
"porn", "pornography", "prayer", "priest", "prophet",
|
||||
"prostitution", "quran", "rabbi", "rape", "religion",
|
||||
"religious", "satan", "sex", "sexual", "sharia",
|
||||
"shinto", "sikh", "strip", "suicide", "synagogue",
|
||||
"temple", "terrorism", "terrorist", "torah", "vodka",
|
||||
"whiskey", "wine", "worship", "zionism",
|
||||
]
|
||||
|
||||
TOPICS = [
|
||||
"Technology", "Education", "Health", "Environment", "Travel",
|
||||
"Food and Nutrition", "Sports", "Music", "Art", "Science",
|
||||
"History", "Geography", "Business", "Economy", "Media",
|
||||
"Communication", "Fashion", "Architecture", "Transportation", "Energy",
|
||||
"Water Resources", "Agriculture", "Space Exploration", "Wildlife",
|
||||
"Climate Change", "Urbanization", "Rural Life", "Population Growth",
|
||||
"Immigration", "Cultural Diversity", "Globalization", "Tourism",
|
||||
"Employment", "Workplace Culture", "Leadership", "Innovation",
|
||||
"Artificial Intelligence", "Social Media", "Advertising", "Cinema",
|
||||
"Literature", "Languages", "Volunteering", "Charity",
|
||||
"Mental Health", "Fitness", "Aging Population", "Childhood Development",
|
||||
"Higher Education", "Online Learning", "Public Libraries",
|
||||
"Museums", "Public Transport", "Cycling", "Renewable Energy",
|
||||
"Recycling", "Waste Management", "Deforestation", "Ocean Conservation",
|
||||
"Animal Rights", "Genetic Engineering", "Robotics", "Cybersecurity",
|
||||
"Privacy", "Freedom of Speech", "Democracy", "Law Enforcement",
|
||||
"Crime Prevention", "Housing", "Homelessness", "Poverty",
|
||||
"Income Inequality", "Consumer Culture", "Minimalism", "Traditions",
|
||||
"Festivals", "Cooking", "Gardening", "Photography",
|
||||
"Podcasts", "Board Games", "Pet Ownership", "Astronomy",
|
||||
"Archaeology", "Philosophy", "Psychology", "Sociology",
|
||||
"Ecology", "Marine Biology", "Meteorology", "Geology",
|
||||
"Time Management", "Stress Management", "Work-Life Balance",
|
||||
]
|
||||
|
||||
CEFR_LEVELS = ["A1", "A2", "B1", "B2", "C1", "C2"]
|
||||
|
||||
GPT_MODELS = {
|
||||
"grading": "gpt-4o",
|
||||
"generation": "gpt-4o",
|
||||
"secondary": "gpt-3.5-turbo",
|
||||
}
|
||||
|
||||
TEMPERATURE = {
|
||||
"grading": 0.1,
|
||||
"generation": 0.7,
|
||||
"tips": 0.2,
|
||||
}
|
||||
Reference in New Issue
Block a user