The IHEC Chatbot is a web-based application designed to provide information about IHEC Carthage. It utilizes advanced natural language processing techniques to answer user queries related to the university's programs, services, events, and history.
- Interactive Chat Interface: Users can interact with the chatbot through a user-friendly interface.
- Natural Language Processing: The chatbot uses machine learning models to understand and respond to user queries.
- Data Encryption: User messages are encrypted for security during transmission.
- Feedback Mechanism: Users can provide feedback on the chatbot's responses.
- Frontend: HTML, CSS, JavaScript
- Backend: Python, Flask
- Machine Learning: LlamaIndex, HuggingFace
- Database: SQLite (for session management)
- Encryption: AES encryption for secure data transmission
- Python 3.x
- Node.js (for frontend dependencies, if applicable)
- Flask
- Required Python packages (listed in
requirements.txt)
-
Clone the repository:
git clone https://github.com/yourusername/ihec-chatbot.git cd ihec-chatbot -
Install the required Python packages:
pip install -r requirements.txt
-
Set up the environment variables:
- Create a
.envfile in the root directory and add your Flask secret key:FLASK_SECRET_KEY=your_secret_key
- Create a
-
Run the application:
python app.py
-
Open your web browser and navigate to
http://127.0.0.1:5000to access the chatbot.
- Click on the chatbot icon to open the chat window.
- Type your question in the input field and press "Send" to receive a response.
- You can provide feedback on the chatbot's responses using the feedback buttons.
Contributions are welcome! If you have suggestions for improvements or new features, please open an issue or submit a pull request.