Build highly conversational bots with Botfuel Dialog.
Read Getting Started to learn how to run a bot in minutes.
For more explanations about the internals of Botfuel Dialog, see Concepts.
Botfuel Dialog comes with samples which also serve as integration tests (see below how to run them).
We also provide some standalone sample bots written with Botfuel Dialog. These are used in blog posts and docs.
If you have any issue or question, feel free to open a ticket.
In addition to your feedback, we also welcome your contributions.
In the following, we will use yarn
as a package manager.
git clone [email protected]:Botfuel/botfuel-dialog.git
yarn install
Install Python v2.7.
yarn config set python /path/to/python2.7 -g
yarn install
Botfuel Dialog comes with unit and integration tests.
yarn run unit-test
BOTFUEL_APP_TOKEN=<...> BOTFUEL_APP_ID=<...> BOTFUEL_APP_KEY=<...> yarn test packages/<PACKAGE_NAME>
Example:
BOTFUEL_APP_TOKEN=<...> BOTFUEL_APP_ID=<...> BOTFUEL_APP_KEY=<...> yarn test packages/test-qna
By default, integration tests are run using fixtures.
To register new fixtures, add REPLAY=record
to the test command:
REPLAY=record BOTFUEL_APP_TOKEN=<...> BOTFUEL_APP_ID=<...> BOTFUEL_APP_KEY=<...> yarn test
This will make real API calls and create new fixtures.
BOTFUEL_APP_TOKEN=<...> BOTFUEL_APP_ID=<...> BOTFUEL_APP_KEY=<...> yarn test
See the License file.