Git Product home page Git Product logo

diet_bot's Introduction

Diet_Bot

A chatbot which gives you diet plans, calculates BMI and calculates your Ideal Weight.

Details

  • Made using Bot Framework composer.(Download Bot Framework composer here)
  • 3 Custom Actions were to calculate BMI and Ideal Weight .(Learn how to create custom actions here)
  • Tested in web chat and Bot Framework emulator.(Download Bot Framework emulator here)
  • Try it out here

What is BMI?(BMI custom action here)

  • Body mass index (BMI) is a value derived from the weight and height of a person.
  • The BMI is defined as the body mass divided by the square of the body height, and is expressed in units of kg/m2, resulting from mass in kilograms and height in metres.
  • In this Bot the height is taken in centimetres.
  • Major adult BMI classifications are underweight (under 18.5 kg/m2), normal weight (18.5 to 24.9), overweight (25 to 29.9), and obese (30 or more).
  • Physical characteristics are not thoroughly taken into account.
  • BMI calculations cannot distinguish muscle and fat weight.
  • BMI is used differently for children.

Ideal Weight Calculation(Ideal weight custom action male here, Ideal weight custom action female here )

B. J. Devine Formula (1974)

  • Male: 50.0 kg + 2.3 kg per inch over 5 feet
  • Female: 45.5 kg + 2.3 kg per inch over 5 feet

To use the Project

  • Download the source code
  • You need to have an Azure subscription to work with this code
  • Open Bot Framework Composer
  • Open the bot by navigating through files
  • You can test it in web chat or Bot framework emulator

Useful links

diet_bot's People

Contributors

aksky16 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.