Skip to main content

a small, pedagogical, fst-based dialog toolkit.

Project description

fstflowchat

fstflowchat is a small, pedagogical, fst-based dialog toolkit.

fstflowchat uses finite state transducers to control dialog flow. It uses graphviz to visualize the dialog flow and as a graph specification language for the dialog FST. Each graph edge specifies two functions, a test function that determines if the edge is a valid transition, and an output fuction that determines the system's output as it changes state.

Installation

To install the development version, run

pip install git+https://github.com/abecode/fstflowchat

Currently the development version is preferred.

To run the stable version (in the future), run

pip install fstflowchat

Currently the only dependency is the graphviz application and the pygraphviz library. For mac installation issues, please use the following command as described in this stackoverflow question

python -m pip install \
    --global-option=build_ext \
    --global-option="-I$(brew --prefix graphviz)/include/" \
    --global-option="-L$(brew --prefix graphviz)/lib/" \
    pygraphviz

Running a demo

To see a demo, run

fstflowchat-example

Documentation

For more information, please see the documentation

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fstflowchat-0.0.3.tar.gz (8.5 kB view hashes)

Uploaded Source

Built Distribution

fstflowchat-0.0.3-py3-none-any.whl (6.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page