AI-Powered Learning • Smart Flashcards • Instant Knowledge
Flashcard Genius is an intelligent study companion that transforms your documents into smart flashcards using advanced AI. Say goodbye to manual note-taking and hello to efficient, organized learning!
- Instant Creation: Upload any document and get flashcards in seconds
- Smart Content Understanding: AI identifies key concepts and creates structured Q&A pairs
- Batch Processing: Handles multiple documents with parallel processing
- Structured Output: Clean JSON format with categories and metadata
- Vector Similarity Search: Advanced AI compares new cards with existing ones
- Smart Warnings: Visual alerts for potential duplicates
- Similarity Scoring: Make informed decisions about what to save
- Clean Knowledge Base: Maintain an organized, non-redundant collection
- Category Analysis: Automatic organization by topics and subjects
- K-means Clustering: AI-powered grouping of related concepts
- Learning Insights: Visualize your knowledge distribution
- Progress Tracking: Monitor your learning journey
- Semantic Search: Find cards by meaning, not just keywords
- Instant Results: Lightning-fast vector similarity search
- Context Understanding: AI understands the intent behind your queries
'1. Upload → 2. Generate → 3. Compare → 4. Search
- 📄 Upload - Simple document upload interface
- ⚡ Generate - AI processes document chunks using LLM + Parallel Processing
- 🔍 Compare - Vector similarity search against existing cards using Pinecone
- 🎯 Search - Semantic search across your entire knowledge base
- Frontend: Streamlit for responsive web interface
- AI/ML: OpenAI GPT, LangChain for intelligent processing
- Vector Database: Pinecone for similarity search and storage
- Backend: Python with parallel processing capabilities
- Embeddings: Advanced text embedding models for semantic understanding
- Python 3.8+
- OpenAI API key
- Pinecone API key
- Clone the repository
git clone https://github.com/yourusername/flashcard-genius.git cd flashcard-genius - Install dependencies
pip install -r requirements.txt
- Set up environment variables
OPENAI_API_KEY=your_openai_api_key PINECONE_API_KEY=your_pinecone_api_key
- Run the application streamlit run Home.py
flashcard-genius/
├── Home.py # Main homepage and entry point
├── styles.css # Comprehensive styling
├── pages/
│ ├── 1_📤_Create_Flashcards.py # Document upload & generation
│ ├── 2_🔍_Search_Flashcards.py # Smart search functionality
│ └── 3_📊_Categorise.py # Analytics & clustering
├── utils/
│ ├── pinecone_utils.py # Vector database operations
│ ├── llm_utils.py # AI model interactions
│ ├── text_utils.py # Text processing utilities
│ └── __init__.py
├── dummy_data/database_population.py # Sample data for database
└── requirements.txt # Python dependencies- Navigate to Create Flashcards from the homepage
- Upload a Word document (.docx or .doc) with your study material
- Click Generate and watch AI create flashcards in seconds
- Review each card with answers and metadata
- Check for duplicates using the smart detection system
- Save unique cards to your personal knowledge base
- Go to Search Flashcards
- Enter any query - the AI understands semantic meaning
- Get instant results with relevant flashcards
- Review answers in the expandable sections
- Visit the Categorize page
- View category distributions and statistics
- Explore AI clustering of your flashcards
- Discover learning patterns and focus areas
| Variable | Description | Required |
|---|---|---|
OPENAI_API_KEY |
Your OpenAI API key | Yes |
PINECONE_API_KEY |
Your Pinecone API key | Yes |
- Students preparing for exams and courses
- Professionals learning new skills and technologies
- Researchers organizing knowledge and literature reviews
- Lifelong Learners building personal knowledge systems
- Educators creating teaching materials
- Microsoft Word (.docx, .doc)