/dialog_flow_designer

Dialog Flow Designer is GUI for Dialog Flow Framework, that is a free and open-source software stack for creating chatbots, released under the terms of Apache License 2.0.

Primary LanguageTypeScriptApache License 2.0Apache-2.0

Quick Start

System Requirements

Ensure you have Python version 3.10 or higher installed.

Installation

To install the necessary package, run the following command:

pip install dflowd --pre

Configuring the dflowd app

You may add a .env file in the root directory and configure any of following environment variables. The values shown below are the default ones.

HOST=0.0.0.0
PORT=8000
CONF_RELOAD=True
LOG_LEVEL=info

GRACEFUL_TERMINATION_TIMEOUT=2  # Waiting for process to stop
PING_PONG_TIMEOUT=0.5  # Waiting the process to response before it mark it as still `running`

# For tests:
BUILD_COMPLETION_TIMEOUT=10
RUN_RUNNING_TIMEOUT=5

Project Initiation

Initialize your project by running:

dflowd init
cd <PROJECT-SLUG> # enter the slug you choose for your project with the help of the previous command

The dflowd init command will start an interactive cookiecutter process to create a project based on a predefined template. The resulting project will be a simple example template that you can customize to suit your needs.

Running Your Project

To run your project, use the following command:

dflowd run_backend