JADE (Junior AI Developer's Assistant & Enhancer) is a simple yet powerful chatbot built with Python using transformer-based AI models.
- Command-line interface for quick interactions
- Web interface for user-friendly experience
- Conversation memory to maintain context
- Based on DialoGPT for natural-sounding responses
- Clone this repository
- Install the required dependencies:
pip install -r requirements.txt
To use the chatbot from the command line:
python chatbot/cli.py
To start the web server:
python chatbot/app.py
Then open your browser and navigate to http://localhost:5000
You can customize the chatbot by changing the model in the chatbot.py
file:
chatbot = Chatbot(model_name="your-preferred-model")
Alternative models:
- microsoft/DialoGPT-small (faster, less accurate)
- microsoft/DialoGPT-medium (default)
- microsoft/DialoGPT-large (slower, more accurate)
chatbot/app.py
: Flask web applicationchatbot/chatbot.py
: Core chatbot functionalitychatbot/cli.py
: Command-line interfacechatbot/templates/index.html
: Web interface templaterequirements.txt
: Python dependencies