Git Product home page Git Product logo

elevateaijavasdk's Introduction

ElevateAI Java SDK

ElevateAI provides an API for Speech-to-text (ASR), behavioral analysis and sentiment analysis of voice interactions.

Example

  1. Signup and retrieve API token from ElevateAI.
  2. Declare an interaction. Provide a URI if you want ElevateAI to download the interaction via a Public URI.
  3. Retrieve Interaction ID from JSON response and store.
  4. Upload a file.
  5. Check status every 30 seconds using Interaction ID until status returns 'processed' or an error status.
  6. Retrieve results - phrase-by-phrase transcript, punctuated transcript, and AI results.
import elevateAi.client.Client;

        ... ... 
        var cli = Client.newInstance(baseUrl, apiToken);

        // Step 2,3
        var it = cli.declare("en-us", "default", "highAccuracy", null, null, false);

        // Step 4
        var uploadOk = cli.upload(it, "d:/dev/elevateai-cli/sample-media/media.wav");

        // Step 5
        while (true){
            var s = cli.status(it);
            if("processed".equals(s))
                break;
            Thread.sleep(60000);
        }
        
        var tx = cli.transcripts(it, true);
        var ai = cli.aiResults(it);
        System.out.println(String.format("Interaction [%s]: \nTranscripts: %s, \nAiResults: %s", it, tx, ai));

elevateaijavasdk's People

Contributors

ipxnsv avatar niceelevateaisupport avatar nickali avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  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.