Skip to content

Latest commit

 

History

History
115 lines (85 loc) · 4.52 KB

README.md

File metadata and controls

115 lines (85 loc) · 4.52 KB

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 innovation-edge@sparkbot.io 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 brhim@cisco.com or submit an issue for additional information.

License

MIT © Cisco Innovation Edge

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy