Giter VIP home page Giter VIP logo

hackernoon-aws-comprehend's Introduction

PubNub ChatEngine Demo with Amazon Comprehend

Instructions

  • Sign up for PubNub
  • Sign up for Amazon AWS
  • Run ChatEngine Setup
  • Get AWS access and secret keys for Comprehend guide here
  • Go to the PubNub Functions event handlers in the admin portal
  • Add an On Request event handler (+ tab) and paste comprehend-pfunc.js contents into the editor
  • To the left of the editor, click MY SECRETS and add AWS_access_key and AWS_access_key
  • Click COPY URL and paste it in app.js as comprehendFunctionURI variable
  • Copy the Publish and Subscribe keys for the app from the admin portal
  • Paste them at the top of app.js
  • Install https://www.npmjs.com/package/http-server or something similar and boot a new server from the root folder of this project
  • http-server

Features

There is a colored bubble based on the message sentiment analysis. Green for positive, grey for neutral, red for negative.

Uncomment under the UNCOMMENT lines in app.js to see ChatEngine features like

  • Chat History
  • Typing Indicator Plugin
  • Markdown Plugin

App Screenshot

hackernoon-aws-comprehend's People

Contributors

ajb413 avatar

Stargazers

david smooke avatar  avatar ArtificialChat Inc. avatar Stephen Blum avatar

Watchers

James Cloos 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.