Skip to content

Praveen23-kk/ChatBot_Django_Web

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Django ChatterBot Web App

Python Django ChatterBot License: MIT

A simple yet powerful web-based chatbot application built with the Django framework and the ChatterBot library. This project provides a clean user interface for real-time conversations with a trainable AI bot.

ChatBot Demo

✨ Features

  • Interactive Chat Interface: A clean and simple UI for seamless conversation.
  • Real-time Responses: Get instant replies from the chatbot powered by AJAX, so the page doesn't need to reload.
  • Trainable AI: The bot uses ChatterBot's logic adapters and can be trained on custom conversation corpuses.
  • Scalable Backend: Built on the robust and scalable Django web framework.
  • Easy to Set Up: Get the project running locally with just a few commands.

🛠️ Tech Stack

  • Backend: Django
  • Chatbot Engine: ChatterBot
  • Frontend: HTML, CSS, JavaScript (with AJAX for asynchronous requests)
  • Database: SQLite (default, easily configurable)

🚀 Getting Started

Follow these instructions to get a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

Make sure you have the following installed on your system:

  • Python (3.8 or higher)
  • pip (Python package installer)
  • Git

Installation

  1. Clone the repository:

    git clone https://github.com/Praveen23-kk/ChatBot_Django_Web.git
    cd ChatBot_Django_Web
  2. Create and activate a virtual environment:

    • On Windows:
      python -m venv venv
      .\venv\Scripts\activate
    • On macOS/Linux:
      python3 -m venv venv
      source venv/bin/activate
  3. Install the required dependencies:

    pip install -r requirements.txt
  4. Train the ChatterBot corpus: This is a crucial step to make your bot knowledgeable. This command trains the bot on an English corpus.

    python manage.py train
  5. Apply database migrations:

    python manage.py migrate
  6. Run the development server:

    python manage.py runserver
  7. Open your browser and navigate to http://127.0.0.1:8000/. You should now be able to chat with your bot!

🤝 Contributing

Contributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

📄 License

This project is distributed under the MIT License. See the LICENSE file for more information.

📧 Contact

Praveen Kumar - praveennaaz23@gmail.com

Project Link: https://github.com/Praveen23-kk/ChatBot_Django_Web

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors