MindSpark AI is an intelligent learning assistant that transforms how you study.
It generates AI-powered flashcards and dynamic quizzes on any topic in seconds — helping learners, educators, and professionals retain knowledge smarter and faster.
Built with Streamlit and MindsDB, MindSpark AI merges simplicity with intelligence.
Traditional studying methods are often time-consuming and static.
MindSpark AI automates the learning lifecycle:
- Learners enter any topic (e.g., "Neural Networks" or "World War II").
- The system instantly generates interactive flashcards and quizzes powered by AI.
- Knowledge is stored, searchable, and reusable for consistent revision.
- Admins (or educators) can manage topics and curate the learning experience.
Result: Personalized learning, better memory retention, and adaptive AI-driven insights.
- Instantly create topic-based flashcards with AI.
- Flip animations for a modern, engaging experience.
- Save and manage flashcards in your Knowledge Base.
- Auto-generate multiple-choice questions (MCQs).
- See instant correct answers and explanations.
- Review quizzes for better understanding.
- Store and manage all topics in one place.
- Delete, view, or explore previous AI-generated content.
- Organize by subject or difficulty.
- Animated layout with smooth transitions.
- Easy navigation between Home, Flashcards, and Quiz.
- Responsive design for desktop and tablet users.
MindSpark AI uses MindsDB as its AI intelligence layer to:
- Generate accurate, context-aware flashcards.
- Produce structured quizzes with correct answers.
- Learn from user inputs to refine topic quality over time.
- Python (Best Programming Language :P)
- Streamlit (UI Library)
- MindsDB (AI and KB Layer)
- ChromaDB (Vector DB)
- Nebius (For LLM and Embedding model)
Name: flashcards_kb
content_columns = ["topic", "question", "answer"]
metadata_columns = ["type", "difficulty", "category"]
id_column = "id"
| avg_relevancy | avg_relevance_score_by_k | avg_first_relevant_position | mean_mrr | hit_at_k | bin_precision_at_k | avg_entropy | avg_ndcg | avg_query_time | id | name | created_at |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 0.627670248101896 | [1,1,0.92,0.92,0.68,0.35,0.36,0.34,0.35,0.35] | 0 | 1 | [1,1,1,1,1,1,1,1,1,1] | [1,1,0.97,0.95,0.87,0.76,0.68,0.62,0.57,0.55] | 2.1442872927798353 | 0.9992926259506063 | 2.928334045410156 | 1761660056 | my_kb3 | 2025-10-28 14:00:56.438344 |
Follow these steps to set up and run MindSpark AI locally:
git clone https://github.com/yourusername/mindspark-ai.git
cd mindspark-aipython -m venv .venvActivate the environment:
- On Windows:
.venv\Scripts\activate- On Linux / Mac:
source .venv/bin/activatepip install -r requirements.txtuv sync
cp .env.example .env # add your nebius api key from nebius ai cloud to NEBIUS_API_KEY var
uv run setup.pystreamlit run app.pyhttps://x.com/DebasisPan54565/status/1983132238007894480
Built with 💖 by DebasisPanda
