Skip to content

Latest commit

 

History

History
56 lines (34 loc) · 2.72 KB

README.md

File metadata and controls

56 lines (34 loc) · 2.72 KB

Jarvis Bot

This repository contains the code for the Bot created for Jarvis service.

This repo will be used to integrate the Jarvis Service with MS Teams and other possible channels in the future.

Details of the Bot:

Additional Information

This bot has been created using Bot Framework, it shows how to create a simple bot that accepts input from the user and echoes it back.

Prerequisites

This sample requires prerequisites in order to run.

Install Python 3.6

Running the sample

  • Run pip install -r requirements.txt to install all dependencies
  • Run python app.py
  • Alternatively to the last command, you can set the file in an environment variable with set FLASK_APP=app.py in windows (export FLASK_APP=app.py in mac/linux) and then run flask run --host=127.0.0.1 --port=3978

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 Bot Framework Emulator version 4.3.0 or greater from here

Connect to the bot using Bot Framework Emulator

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

Further reading