Skip to content

saeidsaadatigero/Chatbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🤖 Chatbot Using Hugging Face API

Screenshot from 2024-10-28 21-44-41

🤖 Chatbot Using Gemini API

ChatBot

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.

🌟 Features

  • 🌍 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.

🛠️ Technologies Used

  • 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.

🚀 Getting Started

  1. Clone the repository:
    git clone https://github.com/saeidsaadatigero/Chatbot-Using-Hugging-Face-API.git
  2. Navigate to the project directory:
    cd Chatbot-Using-Hugging-Face-API
  3. Install the required dependencies:
    pip install -r requirements.txt
  4. Set up your environment variables for the Hugging Face API key.
  5. Run the development server:
    python manage.py runserver

🤝 Contributing

Feel free to fork the repository and submit a pull request. For any issues or feature requests, please open an issue.

Releases

No releases published

Packages

No packages published