Skip to content

Conversation

@lalrow
Copy link
Owner

@lalrow lalrow commented Sep 19, 2025

No description provided.

- Add PDF upload endpoint with PyPDF2 text extraction
- Implement RAG system using aimakerspace library
- Add RAG chat endpoint for context-aware responses
- Update frontend with PDF upload UI and chat mode switching
- Add RAG status checking and file validation
- Include new API endpoints for PDF processing and RAG chat
… PDFs

- Implemented RAG class in api/aimakerspace/rag.py with document embedding and querying
- Added PDF upload endpoint /api/upload-pdf for document indexing
- Added RAG chat endpoint /api/rag-chat for context-aware conversations
- Added RAG status endpoint /api/rag-status/{user_id}
- Updated frontend with PDF upload UI and RAG chat mode toggle
- Added file-based persistence for conversations and RAG index
- Fixed textarea auto-resize and button alignment in chat UI
- Added reportlab dependency for PDF creation
- Created 5 test PDFs with grade-level vocabulary words
- Updated pyproject.toml with required dependencies (numpy, python-multipart, python-dotenv)
@lalrow lalrow merged commit 2ef45dd into main Sep 19, 2025
lalrow added a commit that referenced this pull request Sep 20, 2025
- Documents all RAG functionality changes in copy_rag branch
- Provides GitHub PR and GitHub CLI merge options
- Includes post-merge verification steps and rollback plan
- Ready for Activity #1 completion per assignment requirements
lalrow added a commit that referenced this pull request Sep 23, 2025
- Implement SQLite embeddings with integer foreign keys (pdf_id → pdf_metadata.id)
- Add comprehensive Kids Science Tutor: login, reading sessions, adaptive quizzing, progress tracking
- Create persistent vector database with auto-initialization of Grade-3 science PDFs
- Add admin tools: PDF upload, vector DB rebuild, system health monitoring
- Fix import paths and UI issues (quiz text visibility)
- Update MERGE.md with complete feature documentation

Activities completed:
✅ Activity #1: RAG functionality with PDF upload and chat
✅ Activity #2: Kids Science Tutor use-case with domain-specific UI
✅ Persistent storage, progress tracking, and adaptive learning features
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants