Welcome to the management platform with an integrated chatbot. This project includes a modern user interface with a calendar, AI-driven suggestions and a chatbot.
The plateform is using one custum offline LLM to provide a chatbot and another custom LLM that suggest behaviour and calendar events according to employee informations and new events.
The project is structured as follows:
root │ plateforme.html │ README.md │ app.py │ event_LLM.py ├───css │ styles.css └───js script.js│ └───json employee.json employee2.json bot_response.json ├───/images │ microphone.png │ loupe.png │ interrochat.png │ notification.png │ profile.png
To run this project, you will need:
- A modern web browser (Google Chrome, Mozilla Firefox, Microsoft Edge, etc.)
- Ollama installed on your computer to run the chatbot
-
Download the Project: Ensure you have downloaded or cloned the project to your computer.
-
Navigate to the Project Folder: Go to the folder containing the project files.
-
Create the two LLM assistant with Ollama: In the terminal type:
ollama create humanaizebot -f ./ModelFileAssistant ollama create humanaizechat -f ./ModelFileChat
To be usable on almost every laptops the system currently uses gemma:2b, but any model from ollama can be use for better performances. Just update the model in top of the two model files.
-
**Run the chatbot **: In the terminal type: python app.py
-
Open the
plateform.htmlFile: Double-click theplateform.htmlfile. It should automatically open in your default web browser. -
Interact with the Platform: You can now interact with the platform, view the calendar, and use the integrated chatbot.
- Calendar: An integrated calendar to manage your events and appointments.
- Chatbot: An interactive chatbot to answer your questions and assist with daily management.
-
Create a json file with the employee information: Modify the employee.json file with the informations
-
Ask for recommandation from your assistant: Run in the terminal: python event_LLM.py
-
Obtain personnal recommandation from your assistant: A json file with the suggestion will be created (next step: to be link with the plateform)
- If the
plateform.htmlfile does not open in the browser, try right-clicking the file, then select "Open with" and choose your preferred web browser. - Ensure all necessary files (CSS, images, and JavaScript) are in their respective folders and that the paths in the
plateform.htmlfile are correct.
Thank you for using our management platform with a chatbot. We hope it meets your needs and facilitates your daily management tasks.