Skip to content

A simple integration between Box and Clarifai with the Box Skills Kit

Notifications You must be signed in to change notification settings

jasonpan12/jpan-skills-kit-1

Repository files navigation

Introduction

This is a function that runs on the Serverless framework with AWS Lambda. The function is invoked by an event generated by Box Skills, and uses Clarifai to generate potential image categories.

Image of Bob Ross

Purpose

The purpose of this app is to demonstrate:

  • A Serverless deployment of a simple application
  • A live example of the Node.JS code required to both read and write to a file from Box based on an event generated by Box Skills
  • Using the skills-kit-2.0 library in a live application
  • Using a common third-party AI provider in Clarifai

Usage

Assuming that the prerequisites are filled, follow these steps in order:

  1. Follow steps 1-3 at Build a Box Skill
  2. Clone this repository to a local directory
  3. Run npm install
  4. Register for Clarifai
  5. Create a config file with the key "clarifaiKey" and fill in the API key from Clarifai's website
  6. Deploy the function to Serverless with serverless deploy -v
  7. Trigger the skill by uploading an image into your folder of choice, configured during step 1.

About

A simple integration between Box and Clarifai with the Box Skills Kit

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published