Skip to content

A smart chatbot built from scratch, leveraging deep learning and neural networks for personalized responses.

Notifications You must be signed in to change notification settings

KarkiAdit/ChatAK

Repository files navigation

🤖 ChatAK: AI-Powered Chatbot

ChatAK is an AI-powered chatbot built from scratch, leveraging deep learning and neural networks for personalized responses. It uses Python's PyTorch library and is trained on custom datasets to predict user-specific replies.

🎥 Demo

app-description.mp4

⚙️ Initial Setup

  1. Clone the Repository:
    git clone https://github.com/python-engineer/chatbot-deployment.git
    cd chatbot-deployment
  2. Create a Virtual Environment:
    python -m venv venv
    source venv/Scripts/activate
  3. Install Dependencies:
    pip install Flask torch torchvision nltk
  4. Download NLTK Package:
    >>> import nltk
    >>> nltk.download('punkt')
  5. Customize Chatbot: Edit intents.json to add your intents and responses.
  6. Train Model:
    python train.py
  7. Test Locally:
    python chat.py

🛠 Technologies Used

  • Python with PyTorch
  • Flask for backend
  • JavaScript for frontend
  • Heroku for deployment
  • nltk for text processing

📂 Folder Structure

train.py: Training script for the chatbot model.
chat.py: Console-based testing.
intents.json: Stores intents and responses.
static/: Frontend files.
templates/: HTML templates for the web interface.
data.pth: Trained model file.


Happy Chatting! 🎉 Try it here

About

A smart chatbot built from scratch, leveraging deep learning and neural networks for personalized responses.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published