HyperMehfin commited on
Commit
efae26e
ยท
verified ยท
1 Parent(s): 7c7f934

Update data.py

Browse files
Files changed (1) hide show
  1. data.py +129 -76
data.py CHANGED
@@ -1,47 +1,76 @@
1
  # data.py
2
 
3
- # Knowledge Base for VEDANIX 2K26
 
 
4
  kb = {
5
- # --- MAJOR COMPETITIONS (Tech) ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6
  "hackathon": {
7
- "keywords": ["hackathon", "hack", "ideathon", "coding", "code", "116"],
8
  "response": """
9
- ๐Ÿ’ป **Hackathon & Ideathon**
10
- ๐Ÿ“ **Venue:** Room 116
11
- - **Ideathon:** 10:30 AM - 12:30 PM
12
- - **Hackathon:** 1:30 PM - 4:00 PM
13
- *Public Allowed: Yes*
14
  """
15
  },
16
-
17
  "project": {
18
- "keywords": ["project", "expo", "exhibition", "model", "118"],
19
  "response": """
20
- ๐Ÿ”ฌ **Project Expo (School & College)**
21
- ๐Ÿ“ **Venue:** Room 118
22
- ๐Ÿ• **Time:** 9:30 AM - 11:30 AM
23
- *Come see the best innovations!*
24
  """
25
  },
26
 
27
- "bridge": {
28
- "keywords": ["bridge", "civil", "structure", "design", "117"],
29
  "response": """
30
- ๐ŸŒ‰ **Bridge Design Competition**
31
- ๐Ÿ“ **Venue:** Room 117
32
- ๐Ÿ• **Time:** 2:00 PM - 3:30 PM
33
- *Test your engineering skills!*
 
 
 
34
  """
35
  },
36
 
37
- "tech_events": {
38
- "keywords": ["circuit", "debug", "guess", "output", "component", "identification", "122"],
39
  "response": """
40
- โšก **Technical Challenges (Circuit Branch)**
41
- ๐Ÿ“ **Venue:** Room 122
42
- - **Component Identification:** 11:30 AM - 12:30 PM
43
- - **Guess the Output:** 2:00 PM - 2:30 PM
44
- - **Circuit Debugging:** 2:30 PM - 3:30 PM
45
  """
46
  },
47
 
@@ -49,54 +78,52 @@ kb = {
49
  "keywords": ["quiz", "trivia", "questions", "124"],
50
  "response": """
51
  ๐Ÿง  **General Quiz**
52
- ๐Ÿ“ **Venue:** Room 124
53
- ๐Ÿ• **Time:** 11:30 AM - 12:30 PM
54
- *Open to Public*
55
  """
56
  },
57
 
58
- # --- FUN & ENTERTAINMENT ---
59
- "gaming": {
60
- "keywords": ["game", "gaming", "esports", "play", "018"],
 
61
  "response": """
62
- ๐ŸŽฎ **CSE Gaming Arena**
63
- ๐Ÿ“ **Venue:** Room 018
64
- *Come play various e-sports titles!*
 
65
  """
66
  },
67
 
68
- "rooms": {
69
- "keywords": ["snow", "horror", "space", "fun", "room", "019", "022", "115"],
70
  "response": """
71
- ๐ŸŽ‰ **Themed Rooms:**
72
- - โ„๏ธ **Snow Room:** Room 019
73
- - ๐Ÿ‘ป **Horror Room:** Room 022
74
- - ๐Ÿš€ **Space Room:** Room 115
75
  """
76
  },
77
 
78
  "robotics": {
79
  "keywords": ["robo", "robot", "bot", "003"],
80
  "response": """
81
- ๐Ÿค– **Robotics Zone**
82
- ๐Ÿ“ **Venue:** Room 003
83
- *Check out the latest bots!*
84
  """
85
  },
86
-
87
- "band": {
88
- "keywords": ["band", "music", "concert", "song", "dj", "performance"],
89
  "response": """
90
- ๐ŸŽธ **Live Band Performance**
91
- ๐Ÿ“ **Venue:** Main Stage
92
- ๐Ÿ• **Time:** 6:00 PM - 8:30 PM
93
- *Public Allowed: YES*
94
  """
95
  },
96
 
97
  # --- STALLS ---
98
  "stalls": {
99
- "keywords": ["stall", "shop", "food", "dept", "department"],
100
  "response": """
101
  ๐ŸŽช **Department Stalls:**
102
  - **CSE Stalls:** Room 015 & 016
@@ -107,43 +134,69 @@ kb = {
107
  """
108
  },
109
 
110
- # --- SCHEDULES ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
111
  "schedule": {
112
  "keywords": ["schedule", "time", "when", "list", "plan", "timeline"],
113
  "response": """
114
  ๐Ÿ“… **VEDANIX 2K26 Schedule**
115
 
116
- **Morning:**
117
- - 09:00: Inauguration
118
- - 09:30: Project Expo (Room 118)
119
- - 10:30: Ideathon (Room 116)
120
- - 11:30: Quiz (Room 124) & Comp. ID (Room 122)
121
-
122
- **Afternoon:**
123
- - 01:30: Hackathon (Room 116)
124
- - 02:00: Bridge Design (Room 117)
125
- - 02:00: Guess Output (Room 122)
126
- - 02:30: Circuit Debug (Room 122)
127
- - 03:00: Treasure Hunt (Internal)
128
-
129
- **Evening:**
130
- - 04:30: Prize Distribution
131
- - 06:00: **Band Performance** ๐ŸŽธ
132
  """
133
  },
134
 
135
  "map": {
136
- "keywords": ["map", "location", "where", "find", "venue"],
137
  "response": """
138
- ๐Ÿ“ **Quick Location Guide:**
139
- - **Ground Floor:** Robotics (003), ME (013), CSE Stalls (015/16), Gaming (018), Snow (019), Horror (022), Civil/ECE (023/24).
140
- - **First Floor:** Space (115), Hackathon (116), Bridge (117), Expo (118), Tech Events (122), Entrepreneur (123), Quiz (124).
141
- - **Courtyard:** Fun Games
 
 
 
 
 
 
 
 
 
 
 
 
 
 
142
  """
143
  },
144
 
145
  "greetings": {
146
  "keywords": ["hi", "hello", "hey", "start", "help", "vedanix"],
147
- "response": "โœจ **Welcome to VEDANIX 2K26** โœจ\n\nI am your AI Event Guide. I can help you find:\n- ๐Ÿ“… Event Schedules\n- ๐Ÿ“ Room Locations\n- ๐ŸŽฎ Gaming & Fun Zones\n- ๐ŸŽธ Concert Details\n\n*How may I assist you today?*"
148
  }
149
  }
 
1
  # data.py
2
 
3
+ # UPDATED KNOWLEDGE BASE: VEDANIX 2K26
4
+ # Changes: Renamed Gaming Arena | Fixed Description
5
+
6
  kb = {
7
+ # --- MASTER EVENT LIST (Catches "what events are there") ---
8
+ "all_events": {
9
+ "keywords": ["events", "event", "list", "activities", "show", "what", "tech", "technical"],
10
+ "response": """
11
+ ๐Ÿš€ **Explore VEDANIX 2K26 Events**
12
+
13
+ **๐Ÿ› ๏ธ Technical Events:**
14
+ - **Hackathon & Ideathon** (Room 118)
15
+ - **Project Expo (School)** (Room 116)
16
+ - **Bridge Design** (Room 117)
17
+ - **Circuit Debugging & ID** (Room 122)
18
+ - **Quiz** (Room 124)
19
+
20
+ **๐ŸŽฎ Fun & Experience:**
21
+ - **Gaming Arena** (Room 018)
22
+ - **Robotics Showcase** (Room 003)
23
+ - **Themed Rooms:** Space (115), Snow (019), Horror (022)
24
+ - **Fun Games** (Courtyard)
25
+
26
+ **๐ŸŽญ Cultural (Naadham):**
27
+ - **Band Performance** (Main Stage)
28
+ - **Treasure Hunt** (Private)
29
+
30
+ *Tip: Ask about any specific event for more details!*
31
+ """
32
+ },
33
+
34
+ # --- COMPETITIONS & TECHNICAL ---
35
  "hackathon": {
36
+ "keywords": ["hackathon", "ideathon", "code", "coding", "118"],
37
  "response": """
38
+ ๐Ÿ’ป **Ideathon & Hackathon**
39
+ ๐Ÿ“ **Venue:** Room 118 (1st Floor)
40
+ ๐Ÿ• **Time:** 10:15 AM โ€“ 1:00 PM
41
+ *Public Allowed: YES*
 
42
  """
43
  },
44
+
45
  "project": {
46
+ "keywords": ["project", "expo", "exhibition", "model", "school", "116"],
47
  "response": """
48
+ ๐Ÿ”ฌ **Project Expo (School Only)**
49
+ ๐Ÿ“ **Venue:** Room 116 (1st Floor)
50
+ ๐Ÿ• **Time:** 10:30 AM โ€“ 12:30 PM
51
+ *Public Allowed: YES*
52
  """
53
  },
54
 
55
+ "circuit": {
56
+ "keywords": ["circuit", "debug", "component", "identification", "guess", "output", "122"],
57
  "response": """
58
+ โšก **Circuit & Logic Events**
59
+ ๐Ÿ“ **Venue:** Room 122 (1st Floor)
60
+
61
+ **Timings:**
62
+ - **Component Identification:** 10:30 AM โ€“ 1:00 PM
63
+ - **Circuit Debugging:** 11:30 AM โ€“ 2:00 PM
64
+ - **Guess the Output:** *Check venue for slot*
65
  """
66
  },
67
 
68
+ "bridge": {
69
+ "keywords": ["bridge", "civil", "structure", "design", "117"],
70
  "response": """
71
+ ๐ŸŒ‰ **Bridge Design Competition**
72
+ ๐Ÿ“ **Venue:** Room 117 (1st Floor)
73
+ ๐Ÿ• **Time:** 11:00 AM โ€“ 12:30 PM
 
 
74
  """
75
  },
76
 
 
78
  "keywords": ["quiz", "trivia", "questions", "124"],
79
  "response": """
80
  ๐Ÿง  **General Quiz**
81
+ ๐Ÿ“ **Venue:** Room 124 (1st Floor)
82
+ ๐Ÿ• **Time:** 11:30 AM โ€“ 12:00 PM
83
+ *Public Allowed: YES*
84
  """
85
  },
86
 
87
+ # --- FUN & THEMED ROOMS ---
88
+ "rooms": {
89
+ # REMOVED "room" to prevent conflicts with Gaming
90
+ "keywords": ["snow", "horror", "space", "theme", "experience", "019", "022", "115"],
91
  "response": """
92
+ ๐ŸŽ‰ **Themed Experience Rooms:**
93
+ - ๐Ÿš€ **Space Room:** Room 115 (1st Floor)
94
+ - โ„๏ธ **Snow Room:** Room 019 (Ground Floor)
95
+ - ๐Ÿ‘ป **Horror Room:** Room 022 (Ground Floor)
96
  """
97
  },
98
 
99
+ "gaming": {
100
+ "keywords": ["game", "gaming", "esports", "play", "cse", "018"],
101
  "response": """
102
+ ๐ŸŽฎ **Gaming Arena**
103
+ ๐Ÿ“ **Venue:** Room 018 (Ground Floor)
104
+ *Come play Esports titles, Racing Sims, and other fun games!*
 
105
  """
106
  },
107
 
108
  "robotics": {
109
  "keywords": ["robo", "robot", "bot", "003"],
110
  "response": """
111
+ ๐Ÿค– **Robotics Showcase**
112
+ ๐Ÿ“ **Venue:** Room 003 (Ground Floor)
 
113
  """
114
  },
115
+
116
+ "fun_games": {
117
+ "keywords": ["courtyard", "fun", "games", "outside"],
118
  "response": """
119
+ ๐ŸŽฏ **Fun Games Zone**
120
+ ๐Ÿ“ **Venue:** College Courtyard
 
 
121
  """
122
  },
123
 
124
  # --- STALLS ---
125
  "stalls": {
126
+ "keywords": ["stall", "shop", "food", "dept", "department", "015", "016", "023", "024", "013"],
127
  "response": """
128
  ๐ŸŽช **Department Stalls:**
129
  - **CSE Stalls:** Room 015 & 016
 
134
  """
135
  },
136
 
137
+ # --- CULTURAL (NAADHAM) ---
138
+ "cultural": {
139
+ "keywords": ["cultural", "dance", "song", "naadham", "band", "concert", "treasure", "hunt"],
140
+ "response": """
141
+ ๐ŸŽญ **Naadham 2K26 (Culturals)**
142
+
143
+ - **Inauguration:** 9:00 AM - 10:00 AM
144
+ - **Culturals:** 10:00 AM - 2:00 PM
145
+ - **Treasure Hunt:** 3:00 PM - 4:30 PM (Private)
146
+ - **Prize Distribution:** 4:30 PM - 6:00 PM
147
+ - ๐ŸŽธ **Band Performance:** 6:00 PM - 8:30 PM (Public: YES)
148
+ """
149
+ },
150
+
151
+ # --- MASTER SCHEDULE ---
152
  "schedule": {
153
  "keywords": ["schedule", "time", "when", "list", "plan", "timeline"],
154
  "response": """
155
  ๐Ÿ“… **VEDANIX 2K26 Schedule**
156
 
157
+ **Morning (TechFest):**
158
+ - 09:30 - 10:15: Inauguration
159
+ - 10:15 - 01:00: Ideathon & Hackathon (Room 118)
160
+ - 10:30 - 12:30: Project Expo (School) (Room 116)
161
+ - 10:30 - 01:00: Component ID (Room 122)
162
+ - 11:00 - 12:30: Bridge Design (Room 117)
163
+ - 11:30 - 12:00: Quiz (Room 124)
164
+ - 11:30 - 02:00: Circuit Debugging (Room 122)
165
+
166
+ **Afternoon (Naadham/Culturals):**
167
+ - 02:00 - 03:00: ๐Ÿฑ **LUNCH BREAK**
168
+ - 03:00 - 04:30: Treasure Hunt
169
+ - 04:30 - 06:00: Prize Distribution
170
+ - 06:00 - 08:30: ๐ŸŽธ **Band Performance** (Public Open)
 
 
171
  """
172
  },
173
 
174
  "map": {
175
+ "keywords": ["map", "location", "where", "find", "venue", "floor"],
176
  "response": """
177
+ ๐Ÿ“ **VEDANIX Location Guide:**
178
+
179
+ **Ground Floor (0xx):**
180
+ - Robotics (003), ME Stall (013)
181
+ - CSE Stalls (015/16), Gaming (018)
182
+ - Snow Room (019), Horror Room (022)
183
+ - Civil (023), ECE/EEE (024)
184
+
185
+ **First Floor (1xx):**
186
+ - Space Room (115)
187
+ - Project Expo (School) (116)
188
+ - Bridge Comp (117)
189
+ - Hackathon (118)
190
+ - Circuit Events (122), Entrepreneurship (123)
191
+ - Quiz (124)
192
+
193
+ **Outdoors:**
194
+ - Fun Games (Courtyard)
195
  """
196
  },
197
 
198
  "greetings": {
199
  "keywords": ["hi", "hello", "hey", "start", "help", "vedanix"],
200
+ "response": "โœจ **Welcome to VEDANIX 2K26** โœจ\n\nI have the latest updates on:\n- ๐Ÿ“… Official Schedule\n- ๐Ÿ“ Room Locations (Space, Snow, Horror)\n- ๐Ÿ’ป Hackathon & Tech Events\n- ๐ŸŽธ Band Performance\n\n*What would you like to know?*"
201
  }
202
  }