Git Product home page Git Product logo

mapping-sentiments-to-emojis's Introduction

Mapping Sentiments to Emojis

Symbl's APIs empower developers to enable:

  • Real-time analysis of free-flowing discussions to automatically surface highly relevant summary discussion topics, contextual insights, suggestive action items, follow-ups, decisions, and questions.
  • Voice APIs that makes it easy to add AI-powered conversation intelligence to either telephony or WebSocket interfaces.
  • Conversation APIs that provide a REST interface for managing and processing your conversation data.
  • Summary UI with a fully customizable and editable reference experience that indexes a searchable transcript and shows generated actionable insights, topics, timecodes, and speaker information.

Pre-requisites

  • HTML
  • JavaScript
  • Python3

Feature:

Enable a WebSocket's live streaming sentiment polarity scores to be interpreted by emojis.

Setup and Deploy

The first step to getting setup is to sign up.

Gather your Symbl credentials:

  1. Your App Id that you can get from Platform
  2. Your App Secret that you can get from Platform
  3. After setting up your Symbl.ai account, cURL Symbl.ai's authentication API endpoint for an authorization token in the following way:
curl -k -X POST "https://api.symbl.ai/oauth2/token:generate" \
     -H "accept: application/json" \
     -H "Content-Type: application/json" \
     -d "{ \"type\": \"application\", \"appId\": \"<appId>\", \"appSecret\": \"<appSecret>\"}"
  1. Assign your authorization token as the value of accessToken.

  2. Run python3 -m http.server 8000 in the root directory.

  3. You app should be running at http://localhost:8000

Conclusion

You application interprets sentiments from Symbl.ai's Conversation API Message API with the /message's API's parameter for sentiments set to true. After making calls to the Message API, your application interprets the messages with scores below -0.3 as ๐Ÿ˜ž, the messages with scores above 0.3 as ๐Ÿ˜ƒ, the messages between those scores as ๐Ÿ˜. It demonstrates how Symbl.ai's Conversation Intelligence API platform empowers developers to connect, transform or visualize conversation data in real-time streaming applications.

Community

If you have any questions, feel free to reach out to us at [email protected] or through our Community Slack or our forum.

This guide is actively developed, and we love to hear from you! Please feel free to create an issue or open a pull request with your questions, comments, suggestions and feedback. If you liked our integration guide, please star our repo!

This library is released under the Apache License

mapping-sentiments-to-emojis's People

Watchers

 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.