Andres-Coronado / ChatBot-UsingCards-and-AI-apis

Chatbot that can get your info from MS graph and can display it in an adaptive card and also consume cognitive service api

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Using Cards

Bot Framework v4 using adaptive cards, graph and Cognitive services

This bot has been created using Bot Framework, it shows how to create a bot that uses rich cards to enhance your bot design.

Prerequisites

  • Node.js version 10.14 or higher

    # determine node version
    node -v

To try this sample

  • Clone the repository

    git clone https://github.com/Andres-Coronado/ChatBot-UsingCards-and-AI-apis.git
  • In a terminal, navigate to ChatBot-UsingCards-and-AI-apis

    cd ChatBot-UsingCards-and-AI-apis
  • Install modules

    npm install
  • Start the bot

    npm start

Testing the bot using Bot Framework Emulator

Bot Framework Emulator is a desktop application that allows bot developers to test and debug their bots on localhost or running remotely through a tunnel.

  • Install the latest Bot Framework Emulator from here

Connect to the bot using Bot Framework Emulator

  • Launch Bot Framework Emulator
  • File -> Open Bot
  • Enter a Bot URL of http://localhost:3978/api/messages

Deploy the bot to Azure

To learn more about deploying a bot to Azure, see Deploy your bot to Azure for a complete list of deployment instructions.

Further reading

About

Chatbot that can get your info from MS graph and can display it in an adaptive card and also consume cognitive service api


Languages

Language:JavaScript 100.0%