A Streamlit-based application that helps students study mathematics through an interactive chat interface and document management system.
- Interactive chat interface for asking questions about mathematics
- Document management system for organizing lessons and exercises
- Support for multiple file formats (PDF, TXT, DOCX)
- Persistent storage of uploaded documents
- Create a virtual environment (recommended):
python -m venv venv
source venv/bin/activate # On Windows, use: venv\Scripts\activate- Install the required dependencies:
pip install -r requirements.txt- Run the ingestion process to prepare the documents:
python -m ingestion.ingest_pipeline --source pb-solution
python -m ingestion.ingest_pipeline --source clas-notes- Run the application:
python app.py- First, ensure you've run the ingestion process (
python -m ingest.ingest) to prepare your documents - The application will open in your default web browser
- Use the sidebar to upload lesson and exercise documents
- Chat with the assistant in the main interface
- Uploaded files are automatically categorized and stored in the
uploadsdirectory
app.py: Main application filerequirements.txt: Project dependenciesuploads/: Directory for uploaded filescours/: Lesson documentsexos/: Exercise documents