Skip to content

Latest commit

 

History

History
40 lines (27 loc) · 1.13 KB

File metadata and controls

40 lines (27 loc) · 1.13 KB
https://travis-ci.org/gunthercox/django_chatterbot.svg?branch=master

Django ChatterBot

This is a Django project that makes it possible to create a simple chat bot web app using Django, Django REST framework and ChatterBot.

Installation

pip install django-chatterbot

Quick start

  1. Add "django_chatterbot" to your INSTALLED_APPS setting like this:

    INSTALLED_APPS = (

    ... 'django_chatterbot',

    )

  2. Include the django_chatterbot URLconf in your project urls.py like this:

    url(r'^chatterbot/', include('django_chatterbot.urls')),

  3. Run python manage.py migrate to create the chatterbot models.

  4. POST to http://127.0.0.1:8000/chatterbot/ to start a conversation.

    {'text': 'Hello, how are you?'}