Angular AI ChatBot
Angular 5 components to create chat and to manage stories, train the bot and build it.
Working with latest Angular 5.
Installation
To install this library with npm, run below command:
$ npm install --save ng-ai-chatbot
See the npm package list: npmjs.com/package/ng-ai-chatbot
Usage
Configuration
First, Import Angular JsonEditor module in root
Then setup your component models as below :
;;
Remember to install angular material and others, check the dependencies:
"@angular/core": ">=5.0.0",
"@angular/common": ">=5.0.0",
"@angular/material": ">=5.0.0",
"@angular/cdk": ">=5.0.0",
"@angular/platform-browser": ">=5.0.0",
"@angular/platform-browser-dynamic": ">=5.0.0",
"@angular/animations": ">=5.0.0"
Components
Shows the chat to talk to the bot.
<ng-ai-chatbot-chat>
If you want a view to manage the stories, call component
<ng-ai-chatbot-stories>
Demo
Demo component files are included in Git Project.
Demo Project:
Colaborate
Want to help and make it better? You can make your questions at:
And to start working, fork, clone and run:
Install all dependencies
- npm install
Make the lib:
- npm run build:lib
Make the demo app:
- npm run build:app
Start demo app:
- npm run start
Start the a-chatbot server
- npm run server
License
MIT(./LICENSE)