IBM/owplan

Name: owplan

Owner: International Business Machines

Description: Plan your next conference schedule with an OpenWhisk recommendation bot: Conference Plan Bot

Created: 2016-05-10 21:03:41.0

Updated: 2017-05-19 21:29:07.0

Pushed: 2016-05-13 15:47:35.0

Homepage: null

Size: 94

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Conference Plan Bot

The Conference Plan Bot is a serverless, event-driven, bot built on the OpenWhisk open source project.

An instance is running on the hosted OpenWhisk environment provided by IBM Bluemix. It has an associated Cloud Foundry app at http://owplan.mybluemix.net/ which provides the schedule UI, and two proxy services for handling Twitter integration and IoT device reading API calls.

The bot is designed to reply to user tweets that request conference schedule information with real time data on sessions and room conditions. It's currently configured for the O'Reilly Open Source Convention (OSCON) which runs from May 16th to May 20th.

For example, if you tweeted @owplan with the keywords “serverless, bot, Docker, containers” you'd get back a list of sessions at OSCON conference matching those terms for each day.

Tweet example

You can read more about bots, serverless programming, and the motivation for the Conference Plan Bot on the blog post at developerWorks Open.

Installation

Detailed instructions are pending. This repository is meant to provide examples of reusable code and approaches to building OpenWhisk based bots, rather than completely working code with all dependencies.

For now, explore devops/create-update-actions.sh and the individual action code in the openwhisk/actions/js folder. These describe the microservices built for the demo, and represent actions of moderate complexity that are broken into several files and use promises to handle asynchronous processing.

Your primary workflow after setup will be editing actions in JavaScript, compiling them if they consist of more than one file (or have third party NPMs not provided by your OpenWhisk environment), and uploading them.

To get started with an OpenWhisk bot running on Bluemix, you will need to do the following:

Architectural decisions
TODO
Contributors

See CONTRIBUTING.md for details.

License

See LICENSE for details. This demo is built with dependencies on several NPM packages, Bootstrap, and Arduino hardware libraries. You'll need to include those separately to build a working instance of this bot.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.