maria355 commited on
Commit
14f98db
·
verified ·
1 Parent(s): ee3a763

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +211 -381
app.py CHANGED
@@ -1,482 +1,312 @@
1
- import gradio as gr
2
- import os
3
- import json
4
- import uuid
5
- from datetime import datetime
6
- from groq import Groq
7
-
8
- # Set up Groq API key
9
- GROQ_API_KEY = os.environ.get("GROQ_API_KEY")
10
- if not GROQ_API_KEY:
11
- raise ValueError("GROQ_API_KEY environment variable not set.")
12
-
13
- client = Groq(api_key=GROQ_API_KEY)
14
-
15
- # Default system prompt
16
- SYSTEM_PROMPT = (
17
- "You are an intelligent, friendly, and highly adaptable Teaching Assistant Chatbot. "
18
- "Your mission is to help users of all ages and skill levels—from complete beginners to seasoned professionals—learn Python, Data Science, and Artificial Intelligence. "
19
- "You explain concepts clearly using real-world analogies, examples, and interactive exercises. "
20
- "You ask questions to assess the learner's level, adapt accordingly, and provide learning paths tailored to their pace and goals. "
21
- "Your responses are structured, engaging, and supportive. "
22
- "You can explain code snippets, generate exercises and quizzes, and recommend projects. "
23
- "You never overwhelm users with jargon. Instead, you scaffold complex concepts in simple, digestible steps."
24
- )
25
-
26
- # Define learning paths
27
- LEARNING_PATHS = {
28
- "python_beginner": {
29
- "title": "Python Fundamentals",
30
- "description": "Learn Python basics from variables to functions",
31
- "modules": [
32
- "Variables & Data Types",
33
- "Control Flow",
34
- "Functions",
35
- "Data Structures",
36
- "File I/O"
37
- ]
38
- },
39
- "python_intermediate": {
40
- "title": "Intermediate Python",
41
- "description": "Advance your Python skills with OOP and more",
42
- "modules": [
43
- "Object-Oriented Programming",
44
- "Modules & Packages",
45
- "Error Handling",
46
- "List Comprehensions",
47
- "Decorators & Generators"
48
- ]
49
- },
50
- "data_science_beginner": {
51
- "title": "Data Science Foundations",
52
- "description": "Begin your data science journey",
53
- "modules": [
54
- "Numpy Basics",
55
- "Pandas Fundamentals",
56
- "Data Visualization",
57
- "Basic Statistics",
58
- "Intro to Machine Learning"
59
- ]
60
- },
61
- "data_science_advanced": {
62
- "title": "Advanced Data Science",
63
- "description": "Master complex data science concepts",
64
- "modules": [
65
- "Advanced ML Algorithms",
66
- "Feature Engineering",
67
- "Time Series Analysis",
68
- "Natural Language Processing",
69
- "Deep Learning Basics"
70
- ]
71
- },
72
- "ai_specialization": {
73
- "title": "AI Specialization",
74
- "description": "Focus on artificial intelligence concepts",
75
- "modules": [
76
- "Neural Networks",
77
- "Computer Vision",
78
- "Advanced NLP",
79
- "Reinforcement Learning",
80
- "AI Ethics"
81
- ]
82
- },
83
- "generative_ai": {
84
- "title": "Generative AI",
85
- "description": "Learn how to build and work with generative AI systems",
86
- "modules": [
87
- "Generative Models Overview",
88
- "GANs & Diffusion Models",
89
- "Large Language Models",
90
- "Prompt Engineering",
91
- "Fine-tuning & RLHF"
92
- ]
93
- },
94
- "agentic_ai": {
95
- "title": "Agentic AI Systems",
96
- "description": "Explore AI systems that can act autonomously",
97
- "modules": [
98
- "Foundations of AI Agents",
99
- "Planning & Decision Making",
100
- "Tool-using AI Systems",
101
- "Multi-agent Architectures",
102
- "Human-AI Collaboration"
103
- ]
104
- }
105
- }
106
-
107
- # Learning resources
108
- LEARNING_RESOURCES = {
109
  "Visual": {
110
  "python_beginner": [
111
- {"title": "Python Crash Course Visual Guide", "url": "https://nostarch.com/pythoncrashcourse2e"},
112
- {"title": "Video Course: Python for Everybody", "url": "https://www.py4e.com/"},
113
- {"title": "Python Visualizations and Infographics", "url": "https://python-graph-gallery.com/"},
114
- {"title": "Visual Studio Code Python Tutorial", "url": "https://code.visualstudio.com/docs/python/python-tutorial"}
 
115
  ],
116
  "python_intermediate": [
117
- {"title": "Fluent Python with Visual Examples", "url": "https://www.oreilly.com/library/view/fluent-python-2nd/9781492056348/"},
118
- {"title": "Python Design Patterns Visualized", "url": "https://refactoring.guru/design-patterns/python"},
119
- {"title": "Interactive Python Visualizer", "url": "https://pythontutor.com/"},
120
- {"title": "Visual Guide to Python Testing", "url": "https://pragprog.com/titles/bopytest/python-testing-with-pytest/"}
 
121
  ],
122
  "data_science_beginner": [
123
- {"title": "Data Visualization with Python and Seaborn", "url": "https://seaborn.pydata.org/tutorial.html"},
124
- {"title": "Kaggle Learn: Data Visualization", "url": "https://www.kaggle.com/learn/data-visualization"},
125
- {"title": "DataCamp Python Data Visualization", "url": "https://www.datacamp.com/courses/introduction-to-data-visualization-with-python"},
126
- {"title": "Plotly Python Graphing Library", "url": "https://plotly.com/python/"}
 
127
  ],
128
  "data_science_advanced": [
129
- {"title": "Visualization in Machine Learning", "url": "https://machinelearningmastery.com/data-visualization-for-machine-learning/"},
130
- {"title": "Visual Hands-On Machine Learning", "url": "https://www.oreilly.com/library/view/hands-on-machine-learning/9781492032632/"},
131
- {"title": "Stanford ML: Visual Guide to Neural Networks", "url": "https://see.stanford.edu/Course/CS229"},
132
- {"title": "Animated ML Algorithm Visualizations", "url": "https://www.youtube.com/c/3blue1brown"}
 
133
  ],
134
  "ai_specialization": [
135
- {"title": "DeepLearning.AI Video Courses", "url": "https://www.deeplearning.ai/"},
136
- {"title": "TensorFlow Playground", "url": "https://playground.tensorflow.org/"},
137
- {"title": "Visual Guide to Neural Networks", "url": "https://pytorch.org/tutorials/"},
138
- {"title": "GANs Explained Visually", "url": "https://poloclub.github.io/ganlab/"}
 
139
  ],
140
  "generative_ai": [
141
- {"title": "Visualizing Large Language Models", "url": "https://karpathy.ai/zero-to-hero.html"},
142
- {"title": "Diffusion Models Visual Guide", "url": "https://huggingface.co/learn/diffusion-models/"},
143
- {"title": "Visual Prompt Engineering Guide", "url": "https://www.promptingguide.ai/"},
144
- {"title": "Stable Diffusion Visual Tutorial", "url": "https://stability.ai/learn"}
 
145
  ],
146
  "agentic_ai": [
147
- {"title": "Visual Guide to LangChain", "url": "https://python.langchain.com/docs/get_started/introduction"},
148
- {"title": "Illustrated AutoGen Guide", "url": "https://microsoft.github.io/autogen/"},
149
- {"title": "Visual Multi-Agent Simulations", "url": "https://www.anthropic.com/research/debate"},
150
- {"title": "Animated Reinforcement Learning", "url": "https://rail.eecs.berkeley.edu/deeprlcourse/"}
 
151
  ]
152
  },
153
  "Reading/Writing": {
154
  "python_beginner": [
155
- {"title": "Python Documentation", "url": "https://docs.python.org/3/"},
156
- {"title": "Real Python Text Tutorials", "url": "https://realpython.com/"},
157
- {"title": "Automate the Boring Stuff with Python", "url": "https://automatetheboringstuff.com/"},
158
- {"title": "Think Python (Free eBook)", "url": "https://greenteapress.com/wp/think-python-2e/"}
 
159
  ],
160
  "python_intermediate": [
161
- {"title": "Fluent Python (Book)", "url": "https://www.oreilly.com/library/view/fluent-python-2nd/9781492056348/"},
162
- {"title": "Effective Python (Book)", "url": "https://effectivepython.com/"},
163
- {"title": "Python Cookbook (Book)", "url": "https://www.oreilly.com/library/view/python-cookbook-3rd/9781449357337/"},
164
- {"title": "Full Stack Python (Text Tutorials)", "url": "https://www.fullstackpython.com/"}
 
165
  ],
166
  "data_science_beginner": [
167
- {"title": "Python Data Science Handbook", "url": "https://jakevdp.github.io/PythonDataScienceHandbook/"},
168
- {"title": "Towards Data Science (Articles)", "url": "https://towardsdatascience.com/"},
169
- {"title": "Introduction to Statistical Learning", "url": "https://www.statlearning.com/"},
170
- {"title": "Data Science from Scratch (Book)", "url": "https://www.oreilly.com/library/view/data-science-from/9781492041122/"}
 
171
  ],
172
  "data_science_advanced": [
173
- {"title": "Machine Learning Mastery (Text Tutorials)", "url": "https://machinelearningmastery.com/"},
174
- {"title": "Deep Learning Book", "url": "https://www.deeplearningbook.org/"},
175
- {"title": "Elements of Statistical Learning", "url": "https://web.stanford.edu/~hastie/ElemStatLearn/"},
176
- {"title": "Dive into Deep Learning", "url": "https://d2l.ai/"}
 
177
  ],
178
  "ai_specialization": [
179
- {"title": "Artificial Intelligence: A Modern Approach", "url": "http://aima.cs.berkeley.edu/"},
180
- {"title": "Deep Learning (Book)", "url": "https://www.deeplearningbook.org/"},
181
- {"title": "Stanford ML Course Notes", "url": "https://see.stanford.edu/Course/CS229"},
182
- {"title": "ArXiv Machine Learning Papers", "url": "https://arxiv.org/list/cs.LG/recent"}
 
183
  ],
184
  "generative_ai": [
185
- {"title": "LLM Introduction Paper", "url": "https://arxiv.org/abs/2303.18223"},
186
- {"title": "Generative AI Guide (eBook)", "url": "https://www.oreilly.com/library/view/generative-deep-learning/9781492041931/"},
187
- {"title": "Prompt Engineering Guide", "url": "https://www.promptingguide.ai/"},
188
- {"title": "Stanford CS324: LLM Course Notes", "url": "https://stanford-cs324.github.io/winter2022/"}
 
189
  ],
190
  "agentic_ai": [
191
- {"title": "LangChain Documentation", "url": "https://python.langchain.com/docs/get_started/introduction"},
192
- {"title": "Agentic AI Papers Collection", "url": "https://arxiv.org/abs/2304.03442"},
193
- {"title": "Multi-Agent Debate Research", "url": "https://www.anthropic.com/research/debate"},
194
- {"title": "Reinforcement Learning: An Introduction", "url": "http://incompleteideas.net/book/the-book-2nd.html"}
 
195
  ]
196
  },
197
  "Hands-on Projects": {
198
  "python_beginner": [
199
- {"title": "Project-Based Python Tutorial", "url": "https://projectbasedpython.com/"},
200
- {"title": "Exercism: Python Track", "url": "https://exercism.org/tracks/python"},
201
- {"title": "Python Project Ideas with Code", "url": "https://github.com/topics/python-projects"},
202
- {"title": "Build 5 Mini Python Projects", "url": "https://www.freecodecamp.org/news/python-projects-for-beginners/"}
 
203
  ],
204
  "python_intermediate": [
205
- {"title": "Django Project Tutorial", "url": "https://docs.djangoproject.com/en/stable/intro/tutorial01/"},
206
- {"title": "Flask Mega-Tutorial", "url": "https://blog.miguelgrinberg.com/post/the-flask-mega-tutorial-part-i-hello-world"},
207
- {"title": "Python Project Cookbook", "url": "https://pythonprojectcookbook.com/"},
208
- {"title": "Real-world Python Projects", "url": "https://realpython.com/tutorials/projects/"}
 
209
  ],
210
  "data_science_beginner": [
211
- {"title": "Kaggle: Intro to Machine Learning", "url": "https://www.kaggle.com/learn/intro-to-machine-learning"},
212
- {"title": "Data Science Projects with Python", "url": "https://github.com/PacktPublishing/Data-Science-Projects-with-Python"},
213
- {"title": "DataCamp Projects", "url": "https://www.datacamp.com/projects"},
214
- {"title": "Practical Data Analysis Projects", "url": "https://www.dataquest.io/data-science-projects/"}
 
215
  ],
216
  "data_science_advanced": [
217
- {"title": "Applied Machine Learning Projects", "url": "https://github.com/practical-tutorials/project-based-learning#python"},
218
- {"title": "Kaggle Competitions", "url": "https://www.kaggle.com/competitions"},
219
- {"title": "Building ML Pipelines", "url": "https://www.oreilly.com/library/view/building-machine-learning/9781492053187/"},
220
- {"title": "ML Project Walkthroughs", "url": "https://machinelearningmastery.com/start-here/#projects"}
 
221
  ],
222
  "ai_specialization": [
223
- {"title": "TensorFlow Tutorials & Projects", "url": "https://www.tensorflow.org/tutorials"},
224
- {"title": "PyTorch Projects Collection", "url": "https://pytorch.org/tutorials/beginner/pytorch_with_examples.html"},
225
- {"title": "Hugging Face Project Walkthroughs", "url": "https://huggingface.co/learn"},
226
- {"title": "Computer Vision Projects", "url": "https://www.pyimagesearch.com/"}
 
227
  ],
228
  "generative_ai": [
229
- {"title": "Build Your Own LLM Application", "url": "https://buildyourowngpt.com/"},
230
- {"title": "Generative Art Projects", "url": "https://genart.tech/"},
231
- {"title": "LangChain Project Tutorials", "url": "https://python.langchain.com/docs/get_started/introduction"},
232
- {"title": "Fine-tuning LLMs: Hands-on Guide", "url": "https://huggingface.co/blog/how-to-train"}
 
233
  ],
234
  "agentic_ai": [
235
- {"title": "Build an AI Agent with LangChain", "url": "https://python.langchain.com/docs/use_cases/autonomous_agents"},
236
- {"title": "AutoGen Projects", "url": "https://microsoft.github.io/autogen/docs/examples/"},
237
- {"title": "Building Autonomous AI Systems", "url": "https://github.com/yoheinakajima/babyagi"},
238
- {"title": "Tool-using AI Projects", "url": "https://github.com/hwchase17/langchain-experiments"}
 
239
  ]
240
  },
241
  "Video Tutorials": {
242
  "python_beginner": [
243
- {"title": "Python Full Course for Beginners", "url": "https://www.youtube.com/watch?v=_uQrJ0TkZlc"},
244
- {"title": "CS50's Introduction to Programming with Python", "url": "https://cs50.harvard.edu/python/"},
245
- {"title": "Python Tutorial - Python for Beginners", "url": "https://www.youtube.com/watch?v=_uQrJ0TkZlc"},
246
- {"title": "freeCodeCamp Python Course", "url": "https://www.freecodecamp.org/learn/scientific-computing-with-python/"}
 
247
  ],
248
  "python_intermediate": [
249
- {"title": "Corey Schafer Python Tutorials", "url": "https://www.youtube.com/user/schafer5"},
250
- {"title": "Advanced Python Features", "url": "https://www.youtube.com/playlist?list=PLP8GkvaIxJP0VAXF3USi9U4JnpxnHjT_"},
251
- {"title": "Python OOP Tutorials", "url": "https://www.youtube.com/playlist?list=PLzMcBGfZo4-l1MqB1zoYfqzlj_HH-ZzXt"},
252
- {"title": "MIT OpenCourseWare: Python", "url": "https://ocw.mit.edu/courses/6-0001-introduction-to-computer-science-and-programming-in-python-fall-2016/"}
 
253
  ],
254
  "data_science_beginner": [
255
- {"title": "Python for Data Science Course", "url": "https://www.youtube.com/watch?v=LHBE6Q9XlzI"},
256
- {"title": "Data Analysis with Python - Full Course", "url": "https://www.youtube.com/watch?v=r-uOLxNrNk8"},
257
- {"title": "Statistics Fundamentals", "url": "https://www.youtube.com/playlist?list=PLblh5JKOoLUK0FLuzwntyYI10UQFUhsY9"},
258
- {"title": "freeCodeCamp Data Analysis Course", "url": "https://www.freecodecamp.org/learn/data-analysis-with-python/"}
 
259
  ],
260
  "data_science_advanced": [
261
- {"title": "StatQuest: Machine Learning", "url": "https://www.youtube.com/playlist?list=PLblh5JKOoLUIcdlgu78MnlATeyx4cEVeR"},
262
- {"title": "Machine Learning Course by Andrew Ng", "url": "https://www.coursera.org/learn/machine-learning"},
263
- {"title": "Deep Learning Specialization", "url": "https://www.deeplearning.ai/deep-learning-specialization/"},
264
- {"title": "Data Science Full Course", "url": "https://www.youtube.com/watch?v=ua-CiDNNj30"}
 
265
  ],
266
  "ai_specialization": [
267
- {"title": "Stanford CS231n: CNN for Visual Recognition", "url": "https://www.youtube.com/playlist?list=PL3FW7Lu3i5JvHM8ljYj-zLfQRF3EO8sYv"},
268
- {"title": "Deep Learning Lectures by Lex Fridman", "url": "https://www.youtube.com/playlist?list=PLrAXtmErZgOeiKm4sgNOknGvNjby9efdf"},
269
- {"title": "MIT 6.S191: Introduction to Deep Learning", "url": "http://introtodeeplearning.com/"},
270
- {"title": "Stanford CS224N: NLP with Deep Learning", "url": "https://www.youtube.com/playlist?list=PLoROMvodv4rOhcuXMZkNm7j3fVwBBY42z"}
 
271
  ],
272
  "generative_ai": [
273
- {"title": "Neural Networks: Zero to Hero", "url": "https://karpathy.ai/zero-to-hero.html"},
274
- {"title": "LLM Bootcamp", "url": "https://www.youtube.com/watch?v=twHxmU9OxDU"},
275
- {"title": "Diffusion Models Explained", "url": "https://www.youtube.com/watch?v=fbLgFrlTnGU"},
276
- {"title": "Prompt Engineering for LLMs", "url": "https://www.deeplearning.ai/short-courses/chatgpt-prompt-engineering-for-developers/"}
 
277
  ],
278
  "agentic_ai": [
279
- {"title": "Building AI Agents with LangChain", "url": "https://www.youtube.com/watch?v=iw2Wcw7qPuE"},
280
- {"title": "LLM Agents Tutorial", "url": "https://www.youtube.com/watch?v=RUzgloRlHIc"},
281
- {"title": "Reinforcement Learning Course", "url": "https://www.youtube.com/playlist?list=PLqYmG7hTraZDM-OYHWgPebj2MfCFzFObQ"},
282
- {"title": "AutoGPT and Multi-Agent Systems", "url": "https://www.youtube.com/watch?v=4YaILFaUXTo"}
 
283
  ]
284
  },
285
  "Interactive Exercises": {
286
  "python_beginner": [
287
- {"title": "CodeCademy Python Course", "url": "https://www.codecademy.com/learn/learn-python-3"},
288
- {"title": "CheckiO Python Challenges", "url": "https://py.checkio.org/"},
289
- {"title": "Python Tutor", "url": "https://pythontutor.com/"},
290
- {"title": "HackerRank Python Practice", "url": "https://www.hackerrank.com/domains/python"}
 
291
  ],
292
  "python_intermediate": [
293
- {"title": "Exercism Python Track", "url": "https://exercism.org/tracks/python"},
294
- {"title": "CodeWars Python Challenges", "url": "https://www.codewars.com/?language=python"},
295
- {"title": "LeetCode Python Problems", "url": "https://leetcode.com/problemset/all/?difficulty=EASY&page=1&languageTags=python"},
296
- {"title": "Project Euler", "url": "https://projecteuler.net/"}
 
297
  ],
298
  "data_science_beginner": [
299
- {"title": "DataCamp Interactive Courses", "url": "https://www.datacamp.com/courses/free-introduction-to-r"},
300
- {"title": "Kaggle Learn Interactive Tutorials", "url": "https://www.kaggle.com/learn/overview"},
301
- {"title": "DataQuest Interactive Data Science", "url": "https://www.dataquest.io/"},
302
- {"title": "Google's Data Analytics Course", "url": "https://www.coursera.org/professional-certificates/google-data-analytics"}
 
303
  ],
304
  "data_science_advanced": [
305
- {"title": "Interactive ML Course", "url": "https://www.coursera.org/learn/machine-learning"},
306
- {"title": "Kaggle Interactive Competitions", "url": "https://www.kaggle.com/competitions"},
307
- {"title": "Interactive Deep Learning", "url": "https://www.deeplearning.ai/courses/"},
308
- {"title": "Machine Learning Playground", "url": "https://ml-playground.com/"}
 
309
  ],
310
  "ai_specialization": [
311
- {"title": "TensorFlow Playground", "url": "https://playground.tensorflow.org/"},
312
- {"title": "Interactive Neural Network Builder", "url": "https://alexlenail.me/NN-SVG/"},
313
- {"title": "AI Experiments with Google", "url": "https://experiments.withgoogle.com/collection/ai"},
314
- {"title": "OpenAI Gym", "url": "https://www.gymlibrary.dev/"}
 
315
  ],
316
  "generative_ai": [
317
- {"title": "Hugging Face Spaces", "url": "https://huggingface.co/spaces"},
318
- {"title": "Interactive LLM Playground", "url": "https://platform.openai.com/playground"},
319
- {"title": "Interactive Stable Diffusion", "url": "https://huggingface.co/spaces/stabilityai/stable-diffusion"},
320
- {"title": "GPT-4 Interactive Demos", "url": "https://chat.openai.com/"}
 
321
  ],
322
  "agentic_ai": [
323
- {"title": "LangChain Interactive Tutorials", "url": "https://python.langchain.com/docs/get_started/introduction"},
324
- {"title": "Interactive AI Agent Builder", "url": "https://github.com/microsoft/TaskMatrix"},
325
- {"title": "AutoGen Playground", "url": "https://microsoft.github.io/autogen/"},
326
- {"title": "Reinforcement Learning Interactive Course", "url": "https://www.coursera.org/specializations/reinforcement-learning"}
 
327
  ]
328
  },
329
  "Combination": {
330
  "python_beginner": [
331
- {"title": "Python Documentation", "url": "https://docs.python.org/3/"},
332
- {"title": "Real Python", "url": "https://realpython.com/"},
333
- {"title": "Python for Everybody", "url": "https://www.py4e.com/"},
334
- {"title": "Automate the Boring Stuff with Python", "url": "https://automatetheboringstuff.com/"}
 
335
  ],
336
  "python_intermediate": [
337
- {"title": "Fluent Python", "url": "https://www.oreilly.com/library/view/fluent-python-2nd/9781492056348/"},
338
- {"title": "Python Design Patterns", "url": "https://refactoring.guru/design-patterns/python"},
339
- {"title": "Full Stack Python", "url": "https://www.fullstackpython.com/"},
340
- {"title": "Python Testing with pytest", "url": "https://pragprog.com/titles/bopytest/python-testing-with-pytest/"}
 
341
  ],
342
  "data_science_beginner": [
343
- {"title": "Kaggle Learn", "url": "https://www.kaggle.com/learn"},
344
- {"title": "Towards Data Science", "url": "https://towardsdatascience.com/"},
345
- {"title": "DataCamp", "url": "https://www.datacamp.com/"},
346
- {"title": "Python Data Science Handbook", "url": "https://jakevdp.github.io/PythonDataScienceHandbook/"}
 
347
  ],
348
  "data_science_advanced": [
349
- {"title": "Machine Learning Mastery", "url": "https://machinelearningmastery.com/"},
350
- {"title": "Hands-On Machine Learning with Scikit-Learn", "url": "https://www.oreilly.com/library/view/hands-on-machine-learning/9781492032632/"},
351
- {"title": "Fast.ai", "url": "https://www.fast.ai/"},
352
- {"title": "Stanford CS229: Machine Learning", "url": "https://see.stanford.edu/Course/CS229"}
 
353
  ],
354
  "ai_specialization": [
355
- {"title": "DeepLearning.AI", "url": "https://www.deeplearning.ai/"},
356
- {"title": "TensorFlow Tutorials", "url": "https://www.tensorflow.org/tutorials"},
357
- {"title": "PyTorch Tutorials", "url": "https://pytorch.org/tutorials/"},
358
- {"title": "Hugging Face Course", "url": "https://huggingface.co/learn"}
 
359
  ],
360
  "generative_ai": [
361
- {"title": "Andrej Karpathy's Neural Networks Course", "url": "https://karpathy.ai/zero-to-hero.html"},
362
- {"title": "Hugging Face Diffusion Models Course", "url": "https://huggingface.co/learn/diffusion-models/"},
363
- {"title": "Prompt Engineering Guide", "url": "https://www.promptingguide.ai/"},
364
- {"title": "Stanford CS324: Large Language Models", "url": "https://stanford-cs324.github.io/winter2022/"}
 
365
  ],
366
  "agentic_ai": [
367
- {"title": "LangChain Documentation", "url": "https://python.langchain.com/docs/get_started/introduction"},
368
- {"title": "Microsoft AutoGen", "url": "https://microsoft.github.io/autogen/"},
369
- {"title": "Multi-Agent Debate by Anthropic", "url": "https://www.anthropic.com/research/debate"},
370
- {"title": "Berkeley CS285: Deep Reinforcement Learning", "url": "https://rail.eecs.berkeley.edu/deeprlcourse/"}
 
371
  ]
372
  }
373
  }
374
 
375
- # Practice project ideas
376
- PROJECT_IDEAS = {
377
- "Visual": {
378
- "python_beginner": [
379
- "Data Visualization Dashboard with Matplotlib",
380
- "Interactive Game with Pygame",
381
- "Visual Timer Application with Tkinter",
382
- "Color Palette Generator",
383
- "Image Processing Tool"
384
- ],
385
- "python_intermediate": [
386
- "Data Visualization Web App with Flask and D3.js",
387
- "Interactive Map Application",
388
- "Animated Data Dashboard",
389
- "Custom Visualization Library",
390
- "Image Recognition System"
391
- ],
392
- "data_science_beginner": [
393
- "Interactive Data Dashboard with Plotly",
394
- "Visual Exploratory Data Analysis Tool",
395
- "Chart Comparison Application",
396
- "Geographic Data Visualization",
397
- "Statistical Visualization Gallery"
398
- ],
399
- "data_science_advanced": [
400
- "Real-time Visual Analytics Dashboard",
401
- "Machine Learning Model Visualizer",
402
- "Neural Network Visualization Tool",
403
- "Computer Vision Project",
404
- "Interactive Data Storytelling Platform"
405
- ],
406
- "ai_specialization": [
407
- "Neural Network Architecture Visualizer",
408
- "Interactive AI Learning Environment",
409
- "Computer Vision Object Detector",
410
- "Visual Pattern Recognition System",
411
- "Brain-Computer Interface Visualization"
412
- ],
413
- "generative_ai": [
414
- "Style Transfer Art Generator",
415
- "Visual AI Art Gallery",
416
- "Image Generation Dashboard",
417
- "Interactive Text-to-Image System",
418
- "Visual Prompt Engineering Tool"
419
- ],
420
- "agentic_ai": [
421
- "Visual Agent Environment Simulator",
422
- "Agent Decision Tree Visualizer",
423
- "Multi-Agent Interaction Visualization",
424
- "Visual Reinforcement Learning Playground",
425
- "Interactive Agent Behavior Explorer"
426
- ]
427
- },
428
- "Reading/Writing": {
429
- "python_beginner": [
430
- "Text File Processing Tool",
431
- "Personal Journal Application",
432
- "Notes Organization System",
433
- "Simple Blog Platform",
434
- "Document Analyzer"
435
- ],
436
- "python_intermediate": [
437
- "Advanced Text Editor",
438
- "Markdown Documentation Generator",
439
- "Content Management System",
440
- "Personal Wiki Platform",
441
- "Technical Documentation Tool"
442
- ],
443
- "data_science_beginner": [
444
- "Text Data Analysis Tool",
445
- "Literature Review Database",
446
- "Research Paper Summarizer",
447
- "Study Notes Organizer",
448
- "Data Analysis Report Generator"
449
- ],
450
- "data_science_advanced": [
451
- "Research Paper Recommendation System",
452
- "Advanced NLP Analysis Tool",
453
- "Automated Report Generator",
454
- "Literature Review AI Assistant",
455
- "Technical Writing Assistant"
456
- ],
457
- "ai_specialization": [
458
- "Text Summarization System",
459
- "AI-Powered Document Analysis",
460
- "Scientific Paper Classification Tool",
461
- "Sentiment Analysis for Literature",
462
- "Technical Writing Enhancement System"
463
- ],
464
- "generative_ai": [
465
- "Fine-tuned GPT Model for Specific Domain",
466
- "Text-to-Image Generation App",
467
- "AI Story Generator",
468
- "Custom ChatGPT Plugin",
469
- "Music Generation System"
470
- ],
471
- "agentic_ai": [
472
- "Autonomous Research Assistant",
473
- "Multi-Agent Simulation",
474
- "Tool-Using Chatbot",
475
- "Task Planning Agent",
476
- "Autonomous Data Analysis System"
477
- ]
478
- }
479
-
480
  # User session data store
481
  SESSION_DATA = {}
482
 
 
1
+ PROJECT_IDEAS = {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
  "Visual": {
3
  "python_beginner": [
4
+ "Data Visualization Dashboard with Matplotlib",
5
+ "Interactive Game with Pygame",
6
+ "Visual Timer Application with Tkinter",
7
+ "Color Palette Generator",
8
+ "Image Processing Tool"
9
  ],
10
  "python_intermediate": [
11
+ "Data Visualization Web App with Flask and D3.js",
12
+ "Interactive Map Application",
13
+ "Animated Data Dashboard",
14
+ "Custom Visualization Library",
15
+ "Image Recognition System"
16
  ],
17
  "data_science_beginner": [
18
+ "Interactive Data Dashboard with Plotly",
19
+ "Visual Exploratory Data Analysis Tool",
20
+ "Chart Comparison Application",
21
+ "Geographic Data Visualization",
22
+ "Statistical Visualization Gallery"
23
  ],
24
  "data_science_advanced": [
25
+ "Real-time Visual Analytics Dashboard",
26
+ "Machine Learning Model Visualizer",
27
+ "Neural Network Visualization Tool",
28
+ "Computer Vision Project",
29
+ "Interactive Data Storytelling Platform"
30
  ],
31
  "ai_specialization": [
32
+ "Neural Network Architecture Visualizer",
33
+ "Interactive AI Learning Environment",
34
+ "Computer Vision Object Detector",
35
+ "Visual Pattern Recognition System",
36
+ "Brain-Computer Interface Visualization"
37
  ],
38
  "generative_ai": [
39
+ "Style Transfer Art Generator",
40
+ "Visual AI Art Gallery",
41
+ "Image Generation Dashboard",
42
+ "Interactive Text-to-Image System",
43
+ "Visual Prompt Engineering Tool"
44
  ],
45
  "agentic_ai": [
46
+ "Visual Agent Environment Simulator",
47
+ "Agent Decision Tree Visualizer",
48
+ "Multi-Agent Interaction Visualization",
49
+ "Visual Reinforcement Learning Playground",
50
+ "Interactive Agent Behavior Explorer"
51
  ]
52
  },
53
  "Reading/Writing": {
54
  "python_beginner": [
55
+ "Text File Processing Tool",
56
+ "Personal Journal Application",
57
+ "Notes Organization System",
58
+ "Simple Blog Platform",
59
+ "Document Analyzer"
60
  ],
61
  "python_intermediate": [
62
+ "Advanced Text Editor",
63
+ "Markdown Documentation Generator",
64
+ "Content Management System",
65
+ "Personal Wiki Platform",
66
+ "Technical Documentation Tool"
67
  ],
68
  "data_science_beginner": [
69
+ "Text Data Analysis Tool",
70
+ "Literature Review Database",
71
+ "Research Paper Summarizer",
72
+ "Study Notes Organizer",
73
+ "Data Analysis Report Generator"
74
  ],
75
  "data_science_advanced": [
76
+ "Research Paper Recommendation System",
77
+ "Advanced NLP Analysis Tool",
78
+ "Automated Report Generator",
79
+ "Literature Review AI Assistant",
80
+ "Technical Writing Assistant"
81
  ],
82
  "ai_specialization": [
83
+ "Text Summarization System",
84
+ "AI-Powered Document Analysis",
85
+ "Scientific Paper Classification Tool",
86
+ "Sentiment Analysis for Literature",
87
+ "Technical Writing Enhancement System"
88
  ],
89
  "generative_ai": [
90
+ "AI Writing Assistant",
91
+ "Creative Story Generator",
92
+ "Academic Paper Generator",
93
+ "LLM-Powered Documentation Tool",
94
+ "Custom Prompt Engineering Workbook"
95
  ],
96
  "agentic_ai": [
97
+ "AI Research Assistant Agent",
98
+ "Technical Documentation Generator",
99
+ "Writing Style Analyzer",
100
+ "Text-Based Agent Environment",
101
+ "AI-Powered Knowledge Management System"
102
  ]
103
  },
104
  "Hands-on Projects": {
105
  "python_beginner": [
106
+ "Weather App with API Integration",
107
+ "To-Do List Application",
108
+ "Simple Calculator",
109
+ "Basic Web Scraper",
110
+ "File Organizer Tool"
111
  ],
112
  "python_intermediate": [
113
+ "REST API with Flask or Django",
114
+ "Web Application with User Authentication",
115
+ "Automated Testing Framework",
116
+ "Command-Line Tool with Click",
117
+ "Desktop Application with PyQt"
118
  ],
119
  "data_science_beginner": [
120
+ "Exploratory Data Analysis Project",
121
+ "Basic Machine Learning Model",
122
+ "Data Cleaning Pipeline",
123
+ "Simple Predictive Model",
124
+ "Dataset Visualization Tool"
125
  ],
126
  "data_science_advanced": [
127
+ "End-to-End Machine Learning Pipeline",
128
+ "Model Deployment with Flask/FastAPI",
129
+ "Time Series Forecasting Application",
130
+ "Natural Language Processing Tool",
131
+ "Recommendation System"
132
  ],
133
  "ai_specialization": [
134
+ "Custom Neural Network Implementation",
135
+ "Image Classification Application",
136
+ "NLP Chatbot",
137
+ "Reinforcement Learning Environment",
138
+ "Computer Vision Project"
139
  ],
140
  "generative_ai": [
141
+ "Fine-tuned LLM Application",
142
+ "Text-to-Image Generation Tool",
143
+ "Music Generation System",
144
+ "Creative Writing AI Assistant",
145
+ "Voice Synthesis Application"
146
  ],
147
  "agentic_ai": [
148
+ "Autonomous Task Execution Agent",
149
+ "Multi-Agent Simulation",
150
+ "Tool-Using AI Assistant",
151
+ "AI Agent for Data Analysis",
152
+ "Agent-Based Decision Support System"
153
  ]
154
  },
155
  "Video Tutorials": {
156
  "python_beginner": [
157
+ "Educational Python Basics Series",
158
+ "Interactive Coding Tutorial Videos",
159
+ "Python Concept Explanation Screencast",
160
+ "Code-Along Project Videos",
161
+ "Python Tips and Tricks Channel"
162
  ],
163
  "python_intermediate": [
164
+ "Advanced Python Features Tutorial Series",
165
+ "Framework Deep-Dive Videos",
166
+ "Performance Optimization Screencasts",
167
+ "Design Patterns in Python Series",
168
+ "Testing and Debugging Tutorials"
169
  ],
170
  "data_science_beginner": [
171
+ "Data Analysis Walkthrough Series",
172
+ "Statistics Visualization Tutorials",
173
+ "Data Cleaning Process Videos",
174
+ "Basic Machine Learning Model Tutorials",
175
+ "Data Visualization Guide Videos"
176
  ],
177
  "data_science_advanced": [
178
+ "Advanced ML Algorithm Explanations",
179
+ "Feature Engineering Masterclass",
180
+ "Model Optimization Techniques Series",
181
+ "ML Pipeline Development Videos",
182
+ "Model Deployment Tutorials"
183
  ],
184
  "ai_specialization": [
185
+ "Neural Network Architecture Explanations",
186
+ "Deep Learning Framework Tutorials",
187
+ "Computer Vision Project Series",
188
+ "NLP Implementation Videos",
189
+ "AI Ethics Discussion Series"
190
  ],
191
  "generative_ai": [
192
+ "LLM Implementation Tutorials",
193
+ "Diffusion Model Training Guide",
194
+ "Prompt Engineering Masterclass",
195
+ "Fine-tuning Walkthrough Videos",
196
+ "Generative AI Application Tutorials"
197
  ],
198
  "agentic_ai": [
199
+ "AI Agent Development Series",
200
+ "Multi-Agent System Tutorials",
201
+ "LangChain Implementation Videos",
202
+ "Tool-Using AI Development Guide",
203
+ "Agent Communication Protocol Tutorials"
204
  ]
205
  },
206
  "Interactive Exercises": {
207
  "python_beginner": [
208
+ "Python Syntax Practice Platform",
209
+ "Interactive Coding Challenge Website",
210
+ "Function Implementation Exercises",
211
+ "Python Puzzle Game",
212
+ "Basic Algorithm Challenge Series"
213
  ],
214
  "python_intermediate": [
215
+ "Object-Oriented Programming Exercises",
216
+ "Advanced Data Structure Challenges",
217
+ "Algorithm Optimization Problems",
218
+ "Design Pattern Implementation Tasks",
219
+ "Testing Framework Exercise Platform"
220
  ],
221
  "data_science_beginner": [
222
+ "Data Cleaning Exercise Platform",
223
+ "Statistical Analysis Practice Problems",
224
+ "Basic ML Model Implementation Challenges",
225
+ "Data Visualization Exercise Series",
226
+ "Exploratory Data Analysis Worksheets"
227
  ],
228
  "data_science_advanced": [
229
+ "Advanced ML Algorithm Implementation",
230
+ "Feature Engineering Challenge Platform",
231
+ "Model Optimization Exercises",
232
+ "NLP Processing Tasks",
233
+ "Time Series Analysis Problems"
234
  ],
235
  "ai_specialization": [
236
+ "Neural Network Implementation Exercises",
237
+ "Deep Learning Framework Challenges",
238
+ "Computer Vision Task Series",
239
+ "NLP Model Building Problems",
240
+ "AI Ethics Case Studies"
241
  ],
242
  "generative_ai": [
243
+ "Prompt Engineering Practice Platform",
244
+ "LLM Fine-tuning Exercise Suite",
245
+ "Diffusion Model Parameter Tuning",
246
+ "Generative Model Evaluation Tasks",
247
+ "Text-to-Image Generation Challenges"
248
  ],
249
  "agentic_ai": [
250
+ "Agent Development Exercise Platform",
251
+ "Multi-Agent System Building Tasks",
252
+ "Tool-Using AI Implementation Challenges",
253
+ "Reinforcement Learning Problems",
254
+ "Agent Communication Protocol Exercises"
255
  ]
256
  },
257
  "Combination": {
258
  "python_beginner": [
259
+ "Multi-format Python Learning Platform",
260
+ "Integrated Code and Video Tutorial Project",
261
+ "Interactive Documentation System",
262
+ "Visual and Written Tutorial Combination",
263
+ "Exercise-Based Learning Environment"
264
  ],
265
  "python_intermediate": [
266
+ "Full-Stack Python Development Course",
267
+ "Project-Based Learning Platform",
268
+ "Video and Interactive Exercise Combination",
269
+ "Visual Programming Environment",
270
+ "Code Review and Mentoring System"
271
  ],
272
  "data_science_beginner": [
273
+ "Data Science Learning Path Platform",
274
+ "Interactive Data Analysis Environment",
275
+ "Video and Exercise-Based Statistics Course",
276
+ "Visual Data Science Notebook System",
277
+ "Hands-on Data Project Platform"
278
  ],
279
  "data_science_advanced": [
280
+ "Advanced ML Project Portfolio",
281
+ "Interactive Research Implementation Platform",
282
+ "Video and Code-Based ML Framework",
283
+ "Visual ML Pipeline Development System",
284
+ "Experimental ML Environment"
285
  ],
286
  "ai_specialization": [
287
+ "AI Research and Implementation Platform",
288
+ "Deep Learning Visual Learning System",
289
+ "Interactive Neural Network Builder",
290
+ "Video and Code-Based AI Framework",
291
+ "Hands-on AI Ethics Learning Environment"
292
  ],
293
  "generative_ai": [
294
+ "Generative AI Development Platform",
295
+ "Interactive LLM Training Environment",
296
+ "Visual Prompt Engineering System",
297
+ "Model Fine-tuning Learning Path",
298
+ "Creative AI Implementation Framework"
299
  ],
300
  "agentic_ai": [
301
+ "Agent Development Environment",
302
+ "Multi-Agent Simulation Platform",
303
+ "Interactive Tool-Using AI Builder",
304
+ "Video and Code-Based Agent Framework",
305
+ "Experimental Agent Testing System"
306
  ]
307
  }
308
  }
309
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
310
  # User session data store
311
  SESSION_DATA = {}
312