Spaces:
Sleeping
Sleeping
updated Readme file
Browse files
README.md
CHANGED
|
@@ -6,9 +6,165 @@ colorTo: red
|
|
| 6 |
sdk: gradio
|
| 7 |
sdk_version: 5.33.1
|
| 8 |
app_file: app.py
|
| 9 |
-
pinned:
|
| 10 |
license: mit
|
| 11 |
short_description: Imagine having a smart educational guide right at your side.
|
| 12 |
---
|
| 13 |
|
| 14 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 6 |
sdk: gradio
|
| 7 |
sdk_version: 5.33.1
|
| 8 |
app_file: app.py
|
| 9 |
+
pinned: true
|
| 10 |
license: mit
|
| 11 |
short_description: Imagine having a smart educational guide right at your side.
|
| 12 |
---
|
| 13 |
|
| 14 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
| 15 |
+
|
| 16 |
+
|
| 17 |
+
---
|
| 18 |
+
|
| 19 |
+
# π LearnFlow Agent
|
| 20 |
+
|
| 21 |
+
### Your Smart Educational Guide for Personalized Learning Paths π§ π
|
| 22 |
+
|
| 23 |
+
---
|
| 24 |
+
|
| 25 |
+
## π― What is LearnFlow Agent?
|
| 26 |
+
|
| 27 |
+
**LearnFlow Agent** is an intelligent, conversational tool that helps you figure out *what to learn next* β tailored precisely to your **age**, **background**, and **interests**.
|
| 28 |
+
|
| 29 |
+
Powered by advanced language models and a sleek Gradio interface, it delivers a **personalized study roadmap**, helpful explanations, beginner resources, and even custom questions to test your understanding.
|
| 30 |
+
|
| 31 |
+
---
|
| 32 |
+
|
| 33 |
+
## π Key Objectives
|
| 34 |
+
|
| 35 |
+
LearnFlow Agent is built to **empower learners** by:
|
| 36 |
+
|
| 37 |
+
* π **Creating Personalized Learning Plans**
|
| 38 |
+
Customized to match your educational background and interests.
|
| 39 |
+
|
| 40 |
+
* π§ **Clarifying Why It Matters**
|
| 41 |
+
Get a clear reason behind every suggested topic and how it helps *you*.
|
| 42 |
+
|
| 43 |
+
* π **Recommending Actionable Resources**
|
| 44 |
+
Handpicked beginner-friendly content like courses, videos, and books.
|
| 45 |
+
|
| 46 |
+
* π§© **Ensuring You Understand**
|
| 47 |
+
Test yourself with grasp-check questions based on your learning path.
|
| 48 |
+
|
| 49 |
+
---
|
| 50 |
+
|
| 51 |
+
## π What You Get
|
| 52 |
+
|
| 53 |
+
### πΊοΈ **Personalized Study Workflow**
|
| 54 |
+
|
| 55 |
+
Generates a structured roadmap (`study_workflow`) with 3β5 main topics and their subtopics, progressing from beginner β advanced.
|
| 56 |
+
|
| 57 |
+
### π§ **Meaningful Reasoning + Outcomes**
|
| 58 |
+
|
| 59 |
+
Clearly explains:
|
| 60 |
+
|
| 61 |
+
* Why this learning path fits *you*
|
| 62 |
+
* What youβll be able to do after completing it
|
| 63 |
+
|
| 64 |
+
### π **Beginner-Friendly Resources**
|
| 65 |
+
|
| 66 |
+
Includes 2β3 handpicked materials (YouTube, MOOCs, docs) to help you get started confidently.
|
| 67 |
+
|
| 68 |
+
### β **Grasp Check Questions**
|
| 69 |
+
|
| 70 |
+
Provides 5β10 custom questions to assess your comprehension along the way.
|
| 71 |
+
|
| 72 |
+
### π **Visual Mermaid Diagram**
|
| 73 |
+
|
| 74 |
+
Automatically turns your learning roadmap into an interactive diagram for visual learners.
|
| 75 |
+
|
| 76 |
+
---
|
| 77 |
+
|
| 78 |
+
## π Integrations & Stack
|
| 79 |
+
|
| 80 |
+
| Component | Description |
|
| 81 |
+
| -------------------------- | ----------------------------------------------------------------------- |
|
| 82 |
+
| π§ **Language Model** | Uses models like `Meta-Llama-3.1-405B-Instruct` to generate responses |
|
| 83 |
+
| π§± **Pydantic Validation** | Enforces JSON structure for consistency using `StudyPlan`, `GraspCheck` |
|
| 84 |
+
| π‘ **Gradio Interface** | Simple, modern UI for input/output, diagrams, and feedback |
|
| 85 |
+
| π **MermaidJS** | Converts study workflows into clear visual diagrams |
|
| 86 |
+
|
| 87 |
+
---
|
| 88 |
+
|
| 89 |
+
## π How It Works
|
| 90 |
+
|
| 91 |
+
### 1οΈβ£ User Input
|
| 92 |
+
|
| 93 |
+
You enter your **age**, **background**, and **interests** via a friendly Gradio form.
|
| 94 |
+
|
| 95 |
+
### 2οΈβ£ Study Plan Generation
|
| 96 |
+
|
| 97 |
+
A powerful LLM processes your input and returns:
|
| 98 |
+
|
| 99 |
+
* A detailed **study\_workflow**
|
| 100 |
+
* A tailored **reason** and **expected outcome**
|
| 101 |
+
* Curated **resources**
|
| 102 |
+
|
| 103 |
+
### 3οΈβ£ Visual Diagram
|
| 104 |
+
|
| 105 |
+
The study plan is rendered as a clean **Mermaid diagram** to help you visualize your learning journey.
|
| 106 |
+
|
| 107 |
+
### 4οΈβ£ Feedback Loop
|
| 108 |
+
|
| 109 |
+
Want changes? Provide feedback and get an updated plan instantly.
|
| 110 |
+
|
| 111 |
+
### 5οΈβ£ Resources & Comprehension
|
| 112 |
+
|
| 113 |
+
Alongside your study path, receive:
|
| 114 |
+
|
| 115 |
+
* π Beginner resources
|
| 116 |
+
* β Smart grasp-check questions to reinforce your learning
|
| 117 |
+
|
| 118 |
+
---
|
| 119 |
+
|
| 120 |
+
## π‘ Example Outputs
|
| 121 |
+
|
| 122 |
+
* π **Study Workflow:** `"Python Basics β NumPy β Pandas β Visualization"`
|
| 123 |
+
* π¬ **Reason:** βThis path introduces you to practical tools for data analysis using your interest in numbers.β
|
| 124 |
+
* π― **Outcome:** βBy the end, you'll be able to clean, analyze, and visualize real datasets using Python.β
|
| 125 |
+
* π **Resources:** CS50, freeCodeCamp, Kaggle
|
| 126 |
+
* β
**Questions:** What is a DataFrame? What does `axis=1` mean in Pandas?
|
| 127 |
+
|
| 128 |
+
---
|
| 129 |
+
|
| 130 |
+
## π€ Who Is This For?
|
| 131 |
+
|
| 132 |
+
Whether you're:
|
| 133 |
+
|
| 134 |
+
* A **student** exploring tech,
|
| 135 |
+
* A **career switcher** entering data or programming,
|
| 136 |
+
* A **hobbyist** wanting structure in your learning journeyβ¦
|
| 137 |
+
|
| 138 |
+
**LearnFlow Agent** is here to guide you with confidence and clarity. π
|
| 139 |
+
|
| 140 |
+
---
|
| 141 |
+
|
| 142 |
+
## π§ͺ Future Features (Coming Soon!)
|
| 143 |
+
|
| 144 |
+
* π Multi-language support
|
| 145 |
+
* π§βπ« Tutor Mode with progress tracking
|
| 146 |
+
* π Resource bookmark sync
|
| 147 |
+
* π§ AI-powered concept explanation on hover
|
| 148 |
+
|
| 149 |
+
---
|
| 150 |
+
|
| 151 |
+
## π οΈ Tech Stack
|
| 152 |
+
|
| 153 |
+
* `Python` + `Gradio` + `Pydantic`
|
| 154 |
+
* `OpenAI / Meta LLMs`
|
| 155 |
+
* `MermaidJS` for diagrams
|
| 156 |
+
|
| 157 |
+
---
|
| 158 |
+
|
| 159 |
+
## π License
|
| 160 |
+
|
| 161 |
+
MIT License
|
| 162 |
+
|
| 163 |
+
---
|
| 164 |
+
|
| 165 |
+
## π Contribute
|
| 166 |
+
|
| 167 |
+
Have ideas? Found a bug? PRs and feedback are welcome. Let's build better learning tools together. π€
|
| 168 |
+
|
| 169 |
+
---
|
| 170 |
+
|