Skip to content

leonlj/BotDemo

Repository files navigation

Bot Demos

Some demos of bot and connecting bot with different canvas (web, native app and WeChat) for bot hackfests

This simple demo shows how to use LUIS with bot and customize the bot to process conversation.

2. GumpCome vending machine bot demo VendingMachineBotDemo

I built this demo with our partner - GumpCome, this demo shows how we can use bot + LUIS in a real project. In bot, when handling intent, I just reused existing cloud API to get vending machine information. Please refer to this project to build your own bot with your APIs.

This demo shows how to integrate vending machine bot in a website. The user can chat with the bot in website. There is an iframe for bot that was generated by bot channel in bot portal. You can refer it to integrate bot in your website.

4. Add attachment and dialog windows in bot botCardMode/BotApp

In bot conversation, it can also reply attachment, like some images, dialog, etc. There are some different card mode, like hero card, rich card mode, Receipt Card, Thumbnail Card etc. In this demo, we add different card mode

5. Connect bot with WeChat offical account app via Direct Line V1.1 WeChatWithBot_DL1.1

In this example, it used bot FW direct line v1.1 rest API to connect WeChat offical account with bot. The code is based on C#. Please refer to this example, and conenct your bot with your WeChat app/offical account.

Please kindly find the snapshot ans introduction in here

6. bot direct line V3.0 C# SDK based on Rest API BotDirectLineV3RestfulAPI_C#_SDK_withDemo

Now, bot DL V3.0 has been released with performance improvment. But there are some changes in rest API comparing with V1.1 DL. To easily use bot DL V3 to connect WeChat, native app, there is C# SDK that encapsulates raw rest api with class. You can use the SDK in your app to connect with your bot in DL V3

7. Connect bot with powerbi and use card mode to show different form and information BotAppWithPowerBi_CardMode

In powerbi+bot hackfest, the partners use bot to connect with PowerBi embedded link. The user can talk to bot to get Bi forms, in additon, in bot it also use card mode to interact with user. Good example for card mode and connect power bi.

8. Use bot direct line v3.0 to connect with WeChat public account demo. Please replace your bot information in follow code in MSBot.cs

string botFrom = "bot handler";
string botConnectorKey = "bot direct line kehy";

About

Bot framework demo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published