heatjs

0.1.2 • Public • Published

Synopsis

Heat is an API for executing tasks that require Intelligence (ranging from OCR/speech-to-text through Text Classification and even Web Scraping). Anything a human can do, Heat does better (with a unique blend of realtime-available humans and ML algorithms).

Installation

Grab your API Token from https://account.heatintelligence.com/ and then simply: npm install heatjs

Code Example

const heat = require("heatjs")(
  "test_e53bbf19fdd077eda1cd933a54ebe987" // replace with your own API Token
);
 
heat.requestMultipleChoice({
  instruction: "Does the image contain violent content?",
  attachments_type: "image",
  attachments: [ "http://i.imgur.com/qRWH5.jpg" ],
  choices_type: "text",
  choices: [ "no violence", "mild violence", "intense violence" ]
}).then(function (request) {
  console.log('request', request.id, 'queued for execution');
  heat.waitForRequest(request.id).then(function (completed_request) {
    console.log('got response:', completed_request.response);
  });
});
 

API Reference

For more information, code examples, and a complete API refrence, visit:

https://docs.heatintelligence.com

Help & Support

For help or support, either write to us at the Heat website :

https://heatintelligence.com/#contact

or email us at support@heatintelligence.com

Package Sidebar

Install

npm i heatjs

Weekly Downloads

2

Version

0.1.2

License

ISC

Last publish

Collaborators

  • crunchable