Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
bin
Apr 11, 2019
Jan 9, 2020
Feb 6, 2020
May 27, 2020
Jan 9, 2020
Feb 18, 2020
Feb 12, 2020
src
Jun 8, 2020
Jun 8, 2020
Jan 7, 2020
Jul 14, 2017
Feb 6, 2020
Jan 31, 2020
Feb 19, 2020
Jun 8, 2020
Jun 8, 2020
0.6
Feb 6, 2020

NewBot

NewBot Javascript Framework


NewBot Framework is an open source Javascript framework for building chatbots, for 15 messaging platforms, with a modular and original dialogue system

Creating a conversational system can take a long time. The goal of NewBot Framework: to give all the means to realize chatbots / voicebots as quickly and as easily as possible

Many Demo

https://newbot.io/examples.html

Docs

Last version

Why not use Microsoft BotFramework or BotKit?

The approach is completely different from these frameworks. NewBot Framework is designed to create conversational systems without worrying about the final platform.

We offer a framework, a skill structure and the means to test your bot.

5 good reasons to use NewBot Framework

Why NewBot Framework

  • CLI. Tools with NewBot CLI | Create, Generate, Test, Deploy, etc.
  • Modules. A skill is an independent module. This helps structure the project and share skills
  • NLP. Native NLP, external services (DialogFlow, NewBot Cloud, etc.) or your own NLP system
  • Easy PWA integration. Create an offline chatbot with PWA
  • Integrate on other platforms. Facebook Messenger, Amazon Alexa, Google Assistant, Slack, Viber, Telegram, Line, twitter, BotFramework
  • Unit tests. Create powerful unit tests
  • Internationalization. Easily integrate chatbot responses into multiple languages

Installation

  1. Use newbot-cli to create a project:

npm install -g newbot-cli

  1. Create a new project called my-chatbot

newbot new my-chatbot

  1. Start a local server

cd my-chatbot newbot serve

  1. Go to localhost:3000 and test

Usage

  • main.converse
@Event('start')
start() {
    > Hello
}
  • main.js
import code from './main.converse'

export default {
    code
}

License

MIT

Changed

2020-02-19

  • Fix several bugs

2020-02-06

  • It is possible to train the chatbot on the fly
  • The training now uses version 4 of the NLPJS module. The generated model is therefore different
  • 1 additional browser-side file is generated (dist/newbot.with-nlp.[min].js). NLPJS content is integrated into the final file