Skip to content

praekelt/django-feersum-nlu

Repository files navigation

Django Feersum NLU

A django feersum nlu wrapper with helper methods and reusable views.

https://travis-ci.com/praekelt/django-feersum-nlu.svg?token=5Nj35BzFWCYFF3qyVG5B&branch=develop https://coveralls.io/repos/github/praekelt/django-feersum-nlu/badge.svg?branch=develop
  1. pip install feersum_nlu.
  2. A feersum_nlu AUTH_TOKEN and MODEL, please check https://github.com/praekelt/feersum-nlu-api-wrappers for information.
  1. Install or add django-feersum-nlu to your Python path.
  2. Add feersumnlu to your INSTALLED_APPS setting.
  3. Add url(r'^feersumnlu/', include("feersumnlu.urls", namespace="feersumnlu")) to your url patterns (only required if you intend on using the detail view)
  4. Add the FEERSUMNLU settings to django app settings.

The following settings are required for this module:

FEERSUMNLU = {
    "AUTH_TOKEN": "YOUR AUTH TOKEN",
    "HOST": "https://nlu.playground.feersum.io:443/nlu/v2",
    "MODEL": "YOUR MODEL"
}
  1. cd example
  2. python manage.py migrate
  3. python manage.py runserver
  4. Go to 127.0.0.1:8000 for an example form

Please see the License requirements in the LICENSE file of this repository.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published