-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.js
More file actions
70 lines (62 loc) · 2.16 KB
/
Copy pathconfig.js
File metadata and controls
70 lines (62 loc) · 2.16 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
// Application Configuration
const CONFIG = {
// Application Settings
app: {
name: 'StudyBuddy Enhanced',
version: '2.0.0',
debug: true // Set to false in production
},
// AI Settings
ai: {
provider: 'openai', // 'openai' or 'anthropic'
model: 'gpt-4', // or 'claude-3-sonnet-20240229'
maxTokens: 1000,
temperature: 0.7,
taskGenerationPrompt: `You are an AI study assistant. Break down the following academic goal into 3-5 specific, actionable tasks. Each task should:
- Be specific and measurable
- Have a realistic time estimate (15-180 minutes)
- Build toward the main goal
- Be appropriate for the student's level
Return the response as a JSON array with this format:
[{"name": "Task name", "duration": 60, "description": "Detailed description", "priority": "high|medium|low"}]
Goal: {goal}`
},
// Feature Toggles
features: {
aiTaskGeneration: true,
googleCalendar: true,
whatsappNotifications: true,
supabaseStorage: true,
offlineMode: false
},
// Calendar Settings
calendar: {
defaultDuration: 60, // minutes
workingHours: {
start: '09:00',
end: '18:00'
},
timeSlots: [15, 30, 45, 60, 90, 120] // available durations in minutes
},
// WhatsApp Settings
whatsapp: {
reminderTimes: [30, 15, 5], // minutes before session
messageTemplates: {
reminder: "🎓 StudyBuddy Reminder: Your {subject} study session starts in {minutes} minutes!",
completion: "✅ Great job completing your {subject} study session! Time for a break?",
motivation: "💪 You're doing great! Keep up the excellent work on {goal}!"
}
},
// Database Tables (for Supabase)
database: {
tables: {
users: 'users',
goals: 'goals',
tasks: 'tasks',
sessions: 'study_sessions',
progress: 'progress_tracking'
}
}
};
// Export for use in main application
window.CONFIG = CONFIG;