Skip to content

pamelon/MSBotProject

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

MSBotProject

This is a project to demo how to build an MVP of a Bot for power users with slight dev experience. The bot will named Just A Rather Very Intelligent System (J.A.R.V.I.S.).

Folder structure

  • Root
    • devops
      • IaC : Arm templates and scripts to deploy Azure resource
      • pipelines: Azure DevOps pipelines to deploy bots (if you want to do in Github, use .github/workflows/)
    • src
      • Jarvis : Botcomposer main project
      • Channels
        • WebHostingApp
        • MobileHostApp
        • TeamsHostApp
    • tests

Instruction

Cloning repo

If this is the first time you install git you will need to configure your commit identity on git using the following commands:

  git config --global user.email "you@example.com"
  git config --global user.name "Your Name"

Tip: Use your github email to avoid being spammed which is handle@users.noreply.github.com

In VSCode hit cntl+shift+P to open command palette and type clone to select the git clone command.

Bot composer learning links

Proactive messaging

Note: Before reinventing the wheel, have a look at Microsoft Viva an end-to-end employee experience offering. In this adaptive card community call the team is showing proactive notifications.

The general idea of the proactive bots is that you store a reference to the end user, usually during the original discussion initiation and then you use that dialog reference to get back to the user from an asynchronous process. This article gives the main points and there is a code sample for teams specifically which will be easier to implement compared to a stateless web chat. See how to send a proactive message in teams for an overview and various code samples. Another great resource is the github issue notification bot. In that code, you will see that the “OnTeamsMembersAddedAsync” event is captured. Then the TurnContext is converted into ConversationReference, which is then used to start a new personal conversation. You can register that bot to everyone in the company through a policy and your code will have to store the dialog reference for every user in a database.

Resources

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •