This project demonstrates how to build a basic AI chatbot using Django and a pre-trained language model.
. ├── README.md ├── requirements.txt └── chatbot ├── init.py ├── settings.py ├── urls.py └── views.py
Python 3.8 or higher
Django 3.2 or higher
Clone this repository.
Create a virtual environment and activate it.
Install the required dependencies:
pip install -r requirements.txt
Update the settings.py file with your desired chatbot configuration, including the language model you want to use.
Run the Django development server:
python manage.py runserver
Visit http://localhost:8000/chat/ in your web browser to interact with the chatbot.
Basic conversation flow Intent recognition Entity extraction Response generation Usage Type your query in the chat box. The chatbot will process your query and respond with the most relevant response. You can continue the conversation by typing another query.
License This project is licensed under the MIT License. See the LICENSE file for more information.