botbuilder-consoleadapter

1.0.1 • Public • Published

Introduction

Bot Builder is a library for building conversational AI chat bots using Microsoft Bot Builder. It allows you to create a really type developer loop where you chat with your bot in a console window as it's being developed and before you add a REST API that allows you to interface with the emulator and a Bot Service.

Getting Started

To install this package, you simply use the typical...

npm install botbuilder-consoleadapter

Then, to write an echo bot with minimal code, you can use...

import { ConsoleAdapter } from "botbuilder-consoleadapter";
 
const adapter = new ConsoleAdapter();
adapter.listen(async (context) => {
    await context.sendActivity(context.activity.text);
})

Easy!

/botbuilder-consoleadapter/

    Package Sidebar

    Install

    npm i botbuilder-consoleadapter

    Weekly Downloads

    1

    Version

    1.0.1

    License

    MIT

    Unpacked Size

    19.1 kB

    Total Files

    5

    Last publish

    Collaborators

    • codefoster