Django project that makes it possible to create a simple chat bot web app using ChatterBot.
1.6K
This is a Django project that makes it possible to create a simple chat bot web app using Django, Django REST framework and ChatterBot.
Add "django_chatterbot" to your INSTALLED_APPS setting like this::
INSTALLED_APPS = ( ... 'django_chatterbot', )
Include the django_chatterbot URLconf in your project urls.py like this::
url(r'^chatterbot/', include('django_chatterbot.urls')),
Run python manage.py migrate to create the chatterbot models.
Start the development server and visit http://127.0.0.1:8000/admin/ to create a poll (you'll need the Admin app enabled).
POST to http://127.0.0.1:8000/chatterbot/ to start a conversation.
If you have docker-compose installed::
docker-compose up
Otherwise, build the docker image::
docker build -t django_chatterbot .
Then run the container::
docker run -it -p 8000:8000 django_chatterbot
Open the web app in a browser (assuming you have docker-machine)::
open http://$(docker-machine ip default):8000
Content type
Image
Digest
Size
342.2 MB
Last updated
over 10 years ago
docker pull robertoandrade/django_chatterbot