owi1972 / web-channel

EVA Web Chat Component

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

eva-bot

EVA (Enterprise Virtual Assistant) Web Chat Component made with Rasa

Web Channel

Made using Polymer's lit-element

Install

Unpkg

<script type="module" src="https://unpkg.com/@navigateconsulting/web-channel@latest/build/default/eva-bot.js"></script>

NPM

npm install @navigateconsulting/web-channel --save

Usage

<!doctype html>
<html lang="en">
  <head>
    <script type="module" src="https://unpkg.com/@navigateconsulting/web-channel@latest/build/default/eva-bot.js"></script>
  </head>
  <body>
    <eva-bot />
  </body>
</html>

Configurable Variables

Below are the Configurable variables for the web component:

headerText {type: String, default_value: Virtual Assistant}

headerButtonColor {type: String, default_value: #007BFF}

headerButtonTextColor {type: String, default_value: #FFF}

serverUrl {type: String, default_value: http://localhost:5005/webhooks/rest/webhook (Rasa Endpoint)}

License

Apache-2.0

About

EVA Web Chat Component

License:Apache License 2.0


Languages

Language:JavaScript 95.9%Language:HTML 4.1%