Your personal assistant for everything McGill.
Switch branches/tags
Clone or download

README.md

Minerva Bot

screen shot 2016-05-24 at 9 58 14 pm

Your personal assistant for everything McGill. Learn about courses, programs, buildings, cafeteria and library opening hours, uPrint locations and general FAQs.

Idea

Currently it takes 10 clicks to get to a search box that lets you search McGill courses. Minerva Bot lives in your messenger, one click away, to search everything McGill!

Features

Course Look Up

Specific Queries

  • Ask for courses by code "COMP 202", "Where is PHYS 232 in the Fall"
  • Ask for courses by title "Courses about machine learning in the fall", "Courses about quantum mechanics"

![image](https://cloud.githubusercontent.com/assets/6295292/15525886/a9430c70-21fb-11e6-88e4-0f31e50c8560.png)

You will get a response with times, professors, buildings and sections!

Freeform Queries

  • Ask for courses by level: "500 level biology courses"
  • Ask for programs: "Honours physics", "Culturual Studies Major"

![image](https://cloud.githubusercontent.com/assets/6295292/15525971/549e4e54-21fc-11e6-82a9-8df1418821d1.png)

Building Look up

  • Look for buildings on campus: "Where is the E-cafe?", "Show me frostbite"
  • See where your classes are.
  • Look for uPrint printers on campus.

image image

Tech

Minerva Bot is organized into plugins. When the server receives a message or postback, the query along with context and history is passed along to a chain of plugins (which are promises) that will process the data in the context. Each plugin will save replies into the context which will be sent back to the user.