Code Monkey home page Code Monkey logo

botfuel-dialog's Introduction

Botfuel Dialog

Build Status

Build highly conversational bots with Botfuel Dialog.

Start writing a bot using 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.

Check the samples

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.

Enter a ticket

If you have any issue or question, feel free to open a ticket.

Contribute to Botfuel Dialog

In addition to your feedback, we also welcome your contributions. In the following, we will use yarn as a package manager.

Clone the repository

git clone [email protected]:Botfuel/botfuel-dialog.git

Install

yarn install

Issue with node-gyp and Python v3.x

Install Python v2.7.

yarn config set python /path/to/python2.7 -g
yarn install

Run the tests

Botfuel Dialog comes with unit and integration tests.

Run the unit tests only

yarn run unit-test

Run integration tests

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.

Running all the tests

BOTFUEL_APP_TOKEN=<...> BOTFUEL_APP_ID=<...> BOTFUEL_APP_KEY=<...> yarn test

License

See the License file.

botfuel-dialog's People

Contributors

kevindepuydt avatar michelbl avatar windkomo avatar yangeorget avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.