Kerikim commited on
Commit
65017a7
Β·
1 Parent(s): bd134a6

elkay:: readme

Browse files
Files changed (2) hide show
  1. README.md +4 -115
  2. README.txt +130 -0
README.md CHANGED
@@ -1,36 +1,5 @@
1
- πŸ’‘ Project: $mart Kids – AI Financial Literacy Platform
2
-
3
- 🌍 Overview
4
- $mart Kids is an AI-powered web-based learning platform designed to teach financial literacy through lessons, quizzes, and interactive games.
5
- Built with Streamlit, FastAPI, LangGraph, TiDB Cloud, and Hugging Face models, it leverages multi-agent AI workflows and vector search to provide personalized tutoring experiences for students, while giving teachers tools to manage classes and track progress.
6
-
7
- ❓ Problem & Solution
8
- In Jamaica and many developing countries, students often lack engaging, accessible tools for learning financial literacy and numeracy. Traditional classrooms don’t adapt well to different learning paces, teachers struggle to track student progress at scale, and parents lack visibility.
9
-
10
- **$mart Kids solves these challenges by:**
11
- - Gamifying financial learning through XP and leaderboards.
12
- - Offering a personalized AI tutor that adapts to each student.
13
- - Providing teachers with dashboards, lesson creation tools, and real-time progress tracking.
14
- - Allowing parents to receive detailed reports on student progress.
15
-
16
-
17
- ✨ Features
18
- Student Dashboard
19
- Explore lessons, attempt quizzes (currently preloaded due to OSS constraints), receive AI tutor feedback, and play engaging games like Budget Builder and Debt Dilemma.
20
-
21
- Teacher Dashboard
22
- Create and manage lessons, assign quizzes, and track student performance with intuitive dashboards.
23
-
24
- Gamified Learning
25
- Earn XP, compete on leaderboards, and reinforce knowledge through play.
26
-
27
- Powered by Modern Tech
28
- Built with Streamlit (frontend), FastAPI + LangGraph (backend), and TiDB Cloud (database + vector search).
29
-
30
- πŸ“¦ Project Structure
31
- Frontend: FInFront
32
  ---
33
- title: FinFront
34
  emoji: πŸš€
35
  colorFrom: red
36
  colorTo: red
@@ -40,91 +9,11 @@ tags:
40
  - streamlit
41
  pinned: false
42
  app_file: app.py
43
- short_description: This is the frontend for Project - $mart Kids – AI Financial Literacy Platform
44
  license: mit
45
  sdk_version: 1.49.1
46
  ---
47
- Runs on Streamlit
48
- Provides student and teacher dashboards
49
- Deployed on Hugging Face Spaces
50
-
51
-
52
- Backend: FinBack
53
- ---
54
- title: FInBack
55
- emoji: πŸ‘€
56
- colorFrom: purple
57
- colorTo: blue
58
- sdk: docker
59
- pinned: false
60
- license: mit
61
- short_description: This is the Backend for Project - $mart Kids – AI Financial Literacy Platform
62
- ---
63
- Built with FastAPI + LangGraph
64
- Handles agent flows, embeddings, and TiDB Cloud integration
65
-
66
- πŸ› οΈ Tech Stack
67
- Frontend: Streamlit (FinFront)
68
- Backend: FastAPI + LangGraph (FinBack)
69
- Database: TiDB Cloud (with Vector Search)
70
- Models: Hugging Face (TinyLlama, E5 embeddings)
71
- Deployment: Hugging Face Spaces
72
-
73
-
74
- πŸ”„ Data Flow & Integration
75
- 1. Student/Teacher Action β†’ User interacts with FinFront (Streamlit).
76
- 2. API Requests β†’ FinFront communicates with FinBack (FastAPI).
77
- 3. Database Operations β†’ FinBack stores and retrieves lessons, quizzes, and user progress from TiDB Cloud.
78
- 4. Vector Search β†’ Lesson embeddings are stored in TiDB Cloud for semantic search and personalization.
79
- 5. AI Models β†’ Hugging Face models (TinyLlama for chat, E5 for embeddings) are used for tutoring, explanations, and adaptive learning.
80
- 6. Feedback Loop β†’ Results (XP, scores, progress) are sent back to dashboards in FinFront.
81
-
82
-
83
- πŸ“Ή Demo Video
84
- πŸ‘‰ https://app.supademo.com/demo/cmflwngwdfpoh39ozaycikuib?utm_source=link
85
-
86
-
87
- πŸš€ Run Instructions
88
- Access Online
89
- 1. Open FinFront on Hugging Face - https://finedproj-finfront.hf.space/
90
- 2. Click the Welcome dropdown in the sidebar.
91
- 3. Choose Sign Up as a Student or Teacher and complete the form.
92
- This will take you to the login page where you can use the credentials that you just created or the pre-created ones below.
93
-
94
- Student
95
- Username: tidbhack_student@email.com
96
- Password: hacking2025
97
-
98
- Teacher
99
- Username: tidbhack_teacher@email.com
100
- Password: hacking2025
101
-
102
- 4. After signup:
103
- Students β†’ lessons, quizzes, games, AI tutor.
104
- Teachers β†’ lesson management, quiz tools, dashboards.
105
- (Note: quizzes are currently preloaded due to limitations in open-source LLM quiz generation.)
106
-
107
-
108
-
109
- πŸ“œ License
110
- MIT License
111
-
112
- Copyright (c) 2025 lanna_lalala;-;
113
-
114
- Permission is hereby granted, free of charge, to any person obtaining a copy
115
- of this software and associated documentation files (the "Software"), to deal
116
- in the Software without restriction, including without limitation the rights
117
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
118
- copies of the Software, and to permit persons to whom the Software is
119
- furnished to do so, subject to the following conditions:
120
 
121
- The above copyright notice and this permission notice shall be included in all
122
- copies or substantial portions of the Software.
123
 
124
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
125
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
126
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
127
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
128
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
129
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
130
- SOFTWARE.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ title: FInFront
3
  emoji: πŸš€
4
  colorFrom: red
5
  colorTo: red
 
9
  - streamlit
10
  pinned: false
11
  app_file: app.py
12
+ short_description: This is the frontend for project
13
  license: mit
14
  sdk_version: 1.49.1
15
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
16
 
17
+ # FinFront
 
18
 
19
+ This was created to be a learning web platform for the Jamaican youth to understand financial literacy and numeracy.
 
 
 
 
 
 
README.txt ADDED
@@ -0,0 +1,130 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ πŸ’‘ Project: $mart Kids – AI Financial Literacy Platform
2
+
3
+ 🌍 Overview
4
+ $mart Kids is an AI-powered web-based learning platform designed to teach financial literacy through lessons, quizzes, and interactive games.
5
+ Built with Streamlit, FastAPI, LangGraph, TiDB Cloud, and Hugging Face models, it leverages multi-agent AI workflows and vector search to provide personalized tutoring experiences for students, while giving teachers tools to manage classes and track progress.
6
+
7
+ ❓ Problem & Solution
8
+ In Jamaica and many developing countries, students often lack engaging, accessible tools for learning financial literacy and numeracy. Traditional classrooms don’t adapt well to different learning paces, teachers struggle to track student progress at scale, and parents lack visibility.
9
+
10
+ **$mart Kids solves these challenges by:**
11
+ - Gamifying financial learning through XP and leaderboards.
12
+ - Offering a personalized AI tutor that adapts to each student.
13
+ - Providing teachers with dashboards, lesson creation tools, and real-time progress tracking.
14
+ - Allowing parents to receive detailed reports on student progress.
15
+
16
+
17
+ ✨ Features
18
+ Student Dashboard
19
+ Explore lessons, attempt quizzes (currently preloaded due to OSS constraints), receive AI tutor feedback, and play engaging games like Budget Builder and Debt Dilemma.
20
+
21
+ Teacher Dashboard
22
+ Create and manage lessons, assign quizzes, and track student performance with intuitive dashboards.
23
+
24
+ Gamified Learning
25
+ Earn XP, compete on leaderboards, and reinforce knowledge through play.
26
+
27
+ Powered by Modern Tech
28
+ Built with Streamlit (frontend), FastAPI + LangGraph (backend), and TiDB Cloud (database + vector search).
29
+
30
+ πŸ“¦ Project Structure
31
+ Frontend: FInFront
32
+ ---
33
+ title: FinFront
34
+ emoji: πŸš€
35
+ colorFrom: red
36
+ colorTo: red
37
+ sdk: streamlit
38
+ app_port: 8501
39
+ tags:
40
+ - streamlit
41
+ pinned: false
42
+ app_file: app.py
43
+ short_description: This is the frontend for Project - $mart Kids – AI Financial Literacy Platform
44
+ license: mit
45
+ sdk_version: 1.49.1
46
+ ---
47
+ Runs on Streamlit
48
+ Provides student and teacher dashboards
49
+ Deployed on Hugging Face Spaces
50
+
51
+
52
+ Backend: FinBack
53
+ ---
54
+ title: FInBack
55
+ emoji: πŸ‘€
56
+ colorFrom: purple
57
+ colorTo: blue
58
+ sdk: docker
59
+ pinned: false
60
+ license: mit
61
+ short_description: This is the Backend for Project - $mart Kids – AI Financial Literacy Platform
62
+ ---
63
+ Built with FastAPI + LangGraph
64
+ Handles agent flows, embeddings, and TiDB Cloud integration
65
+
66
+ πŸ› οΈ Tech Stack
67
+ Frontend: Streamlit (FinFront)
68
+ Backend: FastAPI + LangGraph (FinBack)
69
+ Database: TiDB Cloud (with Vector Search)
70
+ Models: Hugging Face (TinyLlama, E5 embeddings)
71
+ Deployment: Hugging Face Spaces
72
+
73
+
74
+ πŸ”„ Data Flow & Integration
75
+ 1. Student/Teacher Action β†’ User interacts with FinFront (Streamlit).
76
+ 2. API Requests β†’ FinFront communicates with FinBack (FastAPI).
77
+ 3. Database Operations β†’ FinBack stores and retrieves lessons, quizzes, and user progress from TiDB Cloud.
78
+ 4. Vector Search β†’ Lesson embeddings are stored in TiDB Cloud for semantic search and personalization.
79
+ 5. AI Models β†’ Hugging Face models (TinyLlama for chat, E5 for embeddings) are used for tutoring, explanations, and adaptive learning.
80
+ 6. Feedback Loop β†’ Results (XP, scores, progress) are sent back to dashboards in FinFront.
81
+
82
+
83
+ πŸ“Ή Demo Video
84
+ πŸ‘‰ https://app.supademo.com/demo/cmflwngwdfpoh39ozaycikuib?utm_source=link
85
+
86
+
87
+ πŸš€ Run Instructions
88
+ Access Online
89
+ 1. Open FinFront on Hugging Face - https://finedproj-finfront.hf.space/
90
+ 2. Click the Welcome dropdown in the sidebar.
91
+ 3. Choose Sign Up as a Student or Teacher and complete the form.
92
+ This will take you to the login page where you can use the credentials that you just created or the pre-created ones below.
93
+
94
+ Student
95
+ Username: tidbhack_student@email.com
96
+ Password: hacking2025
97
+
98
+ Teacher
99
+ Username: tidbhack_teacher@email.com
100
+ Password: hacking2025
101
+
102
+ 4. After signup:
103
+ Students β†’ lessons, quizzes, games, AI tutor.
104
+ Teachers β†’ lesson management, quiz tools, dashboards.
105
+ (Note: quizzes are currently preloaded due to limitations in open-source LLM quiz generation.)
106
+
107
+
108
+
109
+ πŸ“œ License
110
+ MIT License
111
+
112
+ Copyright (c) 2025 lanna_lalala;-;
113
+
114
+ Permission is hereby granted, free of charge, to any person obtaining a copy
115
+ of this software and associated documentation files (the "Software"), to deal
116
+ in the Software without restriction, including without limitation the rights
117
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
118
+ copies of the Software, and to permit persons to whom the Software is
119
+ furnished to do so, subject to the following conditions:
120
+
121
+ The above copyright notice and this permission notice shall be included in all
122
+ copies or substantial portions of the Software.
123
+
124
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
125
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
126
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
127
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
128
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
129
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
130
+ SOFTWARE.