1.1.2 • Published 5 years ago

angular-chat-widget-rasa v1.1.2

Weekly downloads
33
License
MIT
Repository
github
Last release
5 years ago

Angular Chat Widget Rasa

This library was generated with Angular CLI version 7.2.0.

npm.io

Prerequesites

A Rasa bot exposed with the SocketIO protocol : See instructions in the Rasa Core Documentation.

Session persitence is not supported yet and should be set to false.

Installation

Install angular-chat-widget-rasa from npm

npm i angular-chat-widget-rasa --save

Add the package to your module

import { ChatbotRasaModule } from 'angular-chat-widget-rasa';

@NgModule({
  imports: [ChatbotRasaModule]
})

Usage

Add the component to your page

<chat-widget botName="MyBot" url="http://localhost:5002" ></chat-widget>

Inputs :

NameTypeDefaultDescription
themeblue, grey or redblueThe theme of the widget
botNamestringBotThe name of the bot to display
botAvatarurl or pathnpm.ioThe avatar of the bot
userAvatarurl or pathnpm.ioThe avatar of the user
urlurlhttp://localhost:5002The url to connect to the Rasa bot
startingMessagestringHi, how can we help you?The message to display when the chat is open
openedbooleantrueSet to true to open automaticaly when on the page or false to wait for a click
1.1.2

5 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.9

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago