Chatbot for self reflections created as part of a semester project in the ML4ED lab at EPFL
Present in the MindMate_frontend folder.
These are the main files that define the functionality of MindMate
MainFrameDe.jsandMainFrameEn.js: They contain the javascript code for the German and English versions respectively.MindMateEn.js: It contains the javascript code of the functions used to update the frontend componentsepfl.css,normalize.css,style.css: They contain the style definitions for all the frontend classes/componenrs
Run the following command inside the MindMate_frontend folder:
npm install
npm start
Note: Does not work on Safari
Present in the MindMate_backend folder.
app.py: Main class of the Flask applicationchatomatic.py: Contains the dialog generation functiondateTime.py: Handles the date and time generationEvaluationHandler.py: Contains the feedback generation functions
Run the following command inside the MindMate_backend folder: Create a new python environment:
python -m venv <env_name>
source <env_name>/bin/activate
Start the server:
python requirements installer.py
python app.py
Note: the requirements can be installed only the first time, then the created environment is re-used in the future-
The code is inspired from the ArgueTutor project.