Skip to content

cisco-ie/innovation-edge-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

67 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

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

About

πŸ€–πŸ•Ά Innovation Edge's Cisco Spark bot that fetches pokemon, projects, news, answers questions, and more!

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published