Skip to content

Latest commit

 

History

History
76 lines (50 loc) · 2.91 KB

README.md

File metadata and controls

76 lines (50 loc) · 2.91 KB

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