AI Learning Platform Plan
2025-03-303 turns4,223 charsgpt-4o
Summary
The user requested a detailed project plan for an AI-powered learning platform with specific features, though the request was cut off before completion.
Messages
Orchestrate:
You are an expert programmer and project manager. Your task is to create a detailed project plan for a new AI-powered learning platform. The platform should include features such as:
Be sure to remove any portions which are simply mock ups or placeholders and instead return the actual code for the feature.
Key Features
✅ Self-Hosted & Private: Everything runs locally without reliance on cloud APIs
✅ Dynamic Lesson Generation: Each lesson is uniquely tailored to the user's progress
✅ Knowledge Graph-Driven: Lessons structured on connected concept maps, not linear modules
✅ Retrieval-Augmented Generation (RAG): AI enhances lessons with relevant context
✅ Scalable & Modular: Built with modern tech for flexibility and growth
2. System Architecture
The system uses a modular three-layer architecture:
Frontend – Next.js + React
This provides the interface where users engage with AI-generated lessons:
User Dashboard: Displays progress, completed lessons, and recommendations
Lesson UI: Renders AI-generated content in an engaging format
Interactive Exercises: Supports quizzes and challenges with real-time AI feedback
Progress Visualization: Shows topic mastery through knowledge graph visualizations
AI Chat: Provides on-demand explanations for concepts
Backend – FastAPI
Manages user data, lesson requests, and AI interactions:
Content Processing: Handles markdown files and processes them for the AI
Progress Tracking: Stores learning history to adapt future lessons
Knowledge Graph Management: Maintains concept relationships
API Endpoints: Connects frontend and AI layer
AI Layer – Local LLM + Knowledge Graph
The brain of the system:
Knowledge Graph: Maps concepts and their relationships
RAG Implementation: Enhances lesson quality with relevant context
Adaptive Generation: Creates lessons based on user progress
Local Execution: All AI runs on your hardware for privacy and control
Data Flow
User requests a lesson from the frontend
Backend queries knowledge graph and past progress
AI layer generates a personalized, non-repetitive lesson
Frontend displays the lesson with interactive elements
User interactions update the knowledge graph and progress data
3. Tech Stack & Tools
Frontend
Next.js (React): For a responsive, server-rendered interface
TailwindCSS: For utility-first styling
ShadCN UI: For pre-built, customizable components
React-Flow: For visualizing knowledge graphs
Backend
FastAPI: Python-based API with async support
SQLAlchemy: ORM for database interactions
Pydantic: For data validation
Databases
PostgreSQL: Stores structured data (user progress, lesson history)
ChromaDB: Vector database for semantic search
AI Components
Ollama: Framework for running local LLMs
Mistral or Llama 3: High-quality open-source LLM
NetworkX: Python library for knowledge graph implementation
Sentence-Transformers: For generating text embeddings --- So what I want you to do is to create a series of iterative prompts which will take this program which has already been set up without all of the functionality it has pieces of code which are placeholders and not actually functional I want you to go through the entire codebase and find the features which are not complete and then generate the prompts that when entered into cline will complete the necessary edits in order to complete the functionality and also include the prompt which will complete the functionality outliend previously which is still not implemented
To accomplish this, I'll generate a structured series of prompts that can be used with Cline to iteratively refine and complete your AI-powered learning platform. These prompts will:
1. **Identify incomplete functionality** in the existing codebase.
2. **Generate precise edits** to complete each feature.
3. **Implement missing features** based on the outlined architecture.
I'll start by structuring the prompts in a way that ensures smooth development across the **frontend, backend, and AI layers**.
gpt-4o
These prompts will guide Cline through completing the AI-powered learning platform in a structured and efficient manner. You can run them iteratively to refine each component and ensure full functionality. Let me know if you'd like any adjustments!
gpt-4o