Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

wa-chat-server-microsoft

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

wa-chat-server-microsoft

wa-chat-server adapter for the Microsoft Bot Framework

  • 0.2.2
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
6
increased by500%
Maintainers
1
Weekly downloads
 
Created
Source

wa-chat-server-microsoft

wa-chat-server adapter for the Microsoft Bot Framework client.

Adapter Registration

The initialization of the wa-chat-server with a registered wa-chat-server-microsoft adapter looks like this:

import { WAChatServer, Types } from 'wa-chat-server';
import { WAChatServerMicrosoftAdapter } from 'wa-chat-server-microsoft';

const server = new WAChatServer((process.env as any) as Types.IWAChatServerConfig);
server.addAdapter('microsoft', WAChatServerMicrosoftAdapter);
server.serve();

This code is ready to run and deploy in the directory demo (not distributed in NPM).

Configuration

The configuration is part of the wa-chat-server configuration where the keys relevant for wa-chat-server-microsoft have to be prefixed with adapter.microsoft..

  • appId - Azure application id.
  • appPassword - Application password.

NOTE: When we want to test this adapter with the Microsoft Bot Framework Emulator, we must leave both appId and appPassword empty.

Supported Watson Features

The following Watson features are implemented:

  • Markup in response_type=='text' (it is converted to markdown)
  • response_type=='option'
  • Disambiguation (response_type=='suggestion')

Keywords

FAQs

Package last updated on 12 Jan 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc