Code Monkey home page Code Monkey logo

innovation-edge-bot's Introduction

innovation-edge-bot

๐Ÿค– ๐Ÿ•ถ Innovation Edge's Cisco Spark bot that fetches pokemon, projects, news, answers questions, and more! Edit

Cisco Spark is powerful communication tool for empowering collaboration among teams within a global space or business. To illustrate the power of chatbots, we've created our own personal assitant, the innovation-edge-bot! It also has natural language understanding so you can freely ask it many things, here are some sample phrases:

  • "I want to learn more about innovation edge"
  • "Tell me more about you guys"
  • "What are you guys working on?"
  • "Show me your projects."
  • "Simon Says, <statement>"
  • "How long have you been up?"
  • "Do you know any pokemon?"
  • "Show me news for <news topic>"
  • "What's happening in <news topic>?"

To use our bot, message [email protected] on Cisco Spark

Technical Insights

innovation-edge-bot is using Node.js and built with Botkit. It uses Wit.ai for Natural Language Processing and Understanding.

Directory Structure

This repository is built off of Howdy.ai's botkit-starter-ciscospark with a few minor revisions.

+ Existing Starter Files
โ”œโ”€โ”€ process                 # Dynamically process intents and run associated files: <intent_name>.js
โ”œโ”€โ”€ libs                    # Additional scripts for processing
โ”œโ”€โ”€ store                   # A singleton cache reference
โ””โ”€โ”€ WitAiData.zip           # Wit.ai Training Data

NLP/NLU Training Data

You can download and import the training data for Wit.ai with the WitAiData.zip.

Helpful Node Modules

On top of the starter-kit, we are leveraging well-tested node modules to help with various things.

  • Spark Messages - Help simplify complicated markdown messages into a succinct manner
  • Node Cache - Simplify internal caching

Skills

innovation-edge-bot contains various skills that can be a great reference point for creating your own bots.

Available Skills:

Display Projects

Displays projects based on categories of (Completed / Active / Potential / Inactive) that is processed from a SmartSheet.

Example Triggers

  • "Can you show me projects?"
  • "Show me projects?"

Result

Answer Frequently Asked Questions

Provides commonly asked questions regarding the Innovation Edge team, and provide associated answers.

Example Triggers

  • "I want to learn more about IE"
  • "Can you tell me more?"

Result

News

Fetches the latest Google RSS feed and parses it per user search <NEWS_QUERY> and display up to 3 relevant articles.

Example Triggers

  • "Tell me what's happening in <NEWS_QUERY>"
  • "Show me news in <NEWS_QUERY>"

Result

Pokemon

Performs an API call to pokeapi.com and fetches a random Pokemon. The bot will respond with a sprite, and common stats.

Example Triggers:

  • "Can you show me a pokemon?"
  • "What pokemon do you know?"

Result

Simon Says

Attempts to find the <REPEAT_PHRASE> and repeats it.

Example Triggers:

  • "Repeat after me <REPEAT_PHRASE>"
  • "Simon Says <REPEAT_PHRASE>"

Result

Uptime

Displays the time the bot has been running, combined with an emoji to express its energy levels.

Example Triggers:

  • "How long have you been up?"
  • "Current uptime?"

Result

Questions

You can message [email protected] or submit an issue for additional information.

License

MIT ยฉ Cisco Innovation Edge

innovation-edge-bot's People

Contributors

brh55 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  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.