AI helper for UofT students. Uses open-source models, along with web crawlers to collect data. To use AI, simply run the main.py file. Note that embeddings.py and site_test.py were used to collect the needed database. However, as these files are already built, and two Python programs described above are not used in this AI directly, there is no need to run these programs.
To create .exe file, run: pyinstaller --onefile --windowed --name "UTM_AI_Assistant" --icon=icon.ico --add-data "icon.ico;." --add-data "models;models" --add-data "chunks.json;." --add-data "utm.json;." --add-data "utm.index;." --add-data "delete.png;." --add-data "edit.png;." --add-data "regenerate.png;." --add-data "send.png;." --add-data "stop.png;." --add-data "uoft.png;." main.py
If you want chats.json to be external, comment out "#For internal chats.json file" part of the code and uncomment the line under "#For external chats.json file" Also, use this line to create an .exe file: pyinstaller --onefile --windowed --name "UTM_AI_Assistant" --icon=icon.ico --add-data "icon.ico;." --add-data "models;models" --add-data "chunks.json;." --add-data "utm.json;." --add-data "utm.index;." --add-data "delete.png;." --add-data "edit.png;." --add-data "regenerate.png;." --add-data "send.png;." --add-data "stop.png;." --add-data "uoft.png;." main.py