Skip to content

Welcome to the BotBuilder samples repository. Here you will find task-focused samples in C# and Node.js to help you get started with the Bot Builder SDK!

License

Notifications You must be signed in to change notification settings

foenix0070/BotBuilder-Samples

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

Bot Builder samples are organized into groups and designed to illustrate task-focused samples in C# and Node.js to help you build great bots! To use the samples clone our GitHub repository using Git.

git clone https://github.com/Microsoft/BotBuilder-Samples.git
cd BotBuilder-Samples

Core

These examples show the basic techniques needed to build a great bot.

Sample Description C# Node
Send Attachment A sample bot that passes simple media attachments (images) to a user activity. View SampleDeploy to Azure View SampleDeploy to Azure
Receive Attachment A sample bot that receives attachments sent by the user and downloads them. View SampleDeploy to Azure View SampleDeploy to Azure
Create New Conversation A sample bot that starts a new conversation using a previously stored user address. View SampleDeploy to Azure View SampleDeploy to Azure
Get Members of a Conversation A sample bot that retrieves the conversation's members list and detects when it changes. View SampleDeploy to Azure View SampleDeploy to Azure
Direct Line A sample bot and a custom client communicating to each other using the Direct Line API. View SampleDeploy to Azure View SampleDeploy to Azure
Direct Line (WebSockets) A sample bot and a custom client communicating to each other using the Direct Line API + WebSockets. View SampleDeploy to Azure View SampleDeploy to Azure
Multi Dialogs A sample bot showing different kind of dialogs. View SampleDeploy to Azure View SampleDeploy to Azure
State API A stateless sample bot tracking context of a conversation. View SampleDeploy to Azure View SampleDeploy to Azure
Custom State API A stateless sample bot tracking context of a conversation using a custom storage provider. View SampleDeploy to Azure View SampleDeploy to Azure
ChannelData A sample bot sending native metadata to Facebook using ChannelData. View SampleDeploy to Azure View SampleDeploy to Azure
AppInsights A sample bot which logs telemetry to an Application Insights instance. View SampleDeploy to Azure View SampleDeploy to Azure

Cards

These examples emphasize the rich card support in Bot Framework.

Sample Description C# Node
Rich Cards A sample bot to renders several types of cards as attachments. View SampleDeploy to Azure View SampleDeploy to Azure
Carousel of Cards A sample bot that sends multiple rich card attachments in a single message using the Carousel layout. View SampleDeploy to Azure View SampleDeploy to Azure

Intelligence

Build bots with powerful algorithms using Bing & Microsoft Cognitive Services APIs.

Sample Description C# Node
LUIS A sample bot using LuisDialog to integrate with a LUIS.ai application. View SampleDeploy to Azure View SampleDeploy to Azure
Image Caption A sample bot that gets an image caption using Microsoft Cognitive Services Vision API. View SampleDeploy to Azure View SampleDeploy to Azure
Speech To Text A sample bot that gets text from audio using Bing Speech API. View SampleDeploy to Azure View SampleDeploy to Azure
Similar Products A sample bot that finds visually similar products using Bing Image Search API. View SampleDeploy to Azure View SampleDeploy to Azure
Zummer A sample bot that finds wikipedia articles using Bing Search API View SampleDeploy to Azure View SampleDeploy to Azure

Demo

These are bots designed to showcase end-to-end sample scenarios. They're great sources of code fragments if you're looking to have your bot lightup more complex features.

Sample Description C# Node
Contoso Flowers A reference implementation using many features from BotFramework. View SampleDeploy to Azure View SampleDeploy to Azure
Azure Search Two sample bots that help the user navigate large amounts of content. View Samples View Samples

About

Welcome to the BotBuilder samples repository. Here you will find task-focused samples in C# and Node.js to help you get started with the Bot Builder SDK!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 57.3%
  • JavaScript 40.1%
  • HTML 1.9%
  • Classic ASP 0.3%
  • PowerShell 0.2%
  • CSS 0.1%
  • Batchfile 0.1%