This project implements a chatbot using the Hugging Face API, specifically designed to leverage natural language processing capabilities. The chatbot interacts with users in both English and Persian, providing intelligent responses while avoiding repetitive phrases.
- 🌍 Multi-language Support: Engage in conversations in both English and Persian.
- 💬 Dynamic Responses: Utilizes the GPT-Neo model for generating contextual replies.
- 🔒 CSRF Protection: Implements security measures for handling requests.
- 🎨 User-friendly Interface: Built with Bootstrap for a responsive and intuitive chat experience.
- 🚫 Message Filtering: Filters out repetitive responses to enhance conversation flow.
- Django: Backend framework for handling requests and serving the application.
- Hugging Face API: Utilized for natural language processing capabilities.
- Bootstrap: Frontend framework for creating a responsive user interface.
- JavaScript: For dynamic interactions in the chat application.
- Clone the repository:
git clone https://github.com/saeidsaadatigero/Chatbot-Using-Hugging-Face-API.git
- Navigate to the project directory:
cd Chatbot-Using-Hugging-Face-API
- Install the required dependencies:
pip install -r requirements.txt
- Set up your environment variables for the Hugging Face API key.
- Run the development server:
python manage.py runserver
Feel free to fork the repository and submit a pull request. For any issues or feature requests, please open an issue.