A django feersum nlu wrapper with helper methods and reusable views.
Contents
- pip install feersum_nlu.
- A feersum_nlu AUTH_TOKEN and MODEL, please check https://github.com/praekelt/feersum-nlu-api-wrappers for information.
- Install or add
django-feersum-nluto your Python path. - Add
feersumnluto yourINSTALLED_APPSsetting. - Add
url(r'^feersumnlu/', include("feersumnlu.urls", namespace="feersumnlu"))to yoururl patterns(only required if you intend on using the detail view) - 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"
}
- cd example
python manage.py migratepython manage.py runserver- Go to 127.0.0.1:8000 for an example form
Please see the License requirements in the LICENSE file of this repository.