No description, website, or topics provided.
Python JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
doc
fixtures
static
templates/tree
templatetags
README
__init__.py
admin.py
app.py
config.py
forms.py
models.py
tests.py
urls.py
views.py

README

This application is a generic implementation of a decision tree, which is completely database-configurable. Install this app, populate the db using django's admin UI, and boom: there's your decision tree, interactive poll, whatever you want to call it. Have a look at models.py for details on what each model is for.

EXAMPLE
user: info
system: what's your favorite fruit? apple, orange, pear
user: apple
system: i love apples too! what kind of apples?
user: macintosh
system: thanks for telling me about your fruit preferences. good-bye!

Features
* support for sessions (i.e. 100 different users can all go through a session at the same time)
* branching logic
* tree visualization
* errors for unrecognized messages (e.g. 'i don't recognize that kind of fruit') and multiple retries before exiting the session