Giter Site home page Giter Site logo

escdegmbh / offline-ms-bot-connector Goto Github PK

View Code? Open in Web Editor NEW
5.0 3.0 4.0 82 KB

A connector for the MS Bot Framework (for offline/non-cloud-use)

License: MIT License

HTML 13.23% JavaScript 71.41% CSS 15.36%
bot-framework offline chatbot chatbot-framework

offline-ms-bot-connector's Introduction

Offline MS Bot Connector

This repository contains a front end for the chatbot framework. It aims to establish a connection to the bot without requiring cloud services.

Therefore, the bot creates a message queue, which can be polled using SignalR.

A sample for use can be found in the EchoBot.

Configuration

A sample configuration can be found in Sample.html.

It contains the following parameters:

{
// The ID of the user .. can also set via #ChangeUserId(id)
"user_id": user_id, 

// The bot backend url (with "/api/messages") . may be relative or absolute
"message_backend": "/api/messages", 

// The Reply to URL for the Backend. Iff you are using the Chatbot Framework of the ESC this might be the Bot itself.
"reply_to": document.baseURI, 

// The Location of the SignalR receiverhub for registration (this might be the chatbot backend itself iff you are using the ESC Chatbot Framework)
"receiver_hub": "/receiverhub", 

// The title in the Chatbot Box
"bot_title": "ESC-Chatbot (Sample)", 

// Path to the Avatar Image of the Chatbot 
"bot_avatar": "/bot_avatar.png",      

// The alternative (text) for the Chatbot Avatar (iff no avatar possible, this text will be used)
"bot_avatar_alt": "ESC", 

// The Host of this Bot. Will be used as ChannelID
"host": window.location.href, 

// Indicates whether data like conversation id shall be stored in a domain cookie or in the session store
"use_cookie": false,

// The indicators for the minimize button (separated by '|')
"toggle_chat": "Do you need help?|Minimize Chat" 
}

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.