New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

heatjs

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

heatjs

A thin wrapper around Heat's human-intelligence api

  • 0.1.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

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

Keywords

FAQs

Package last updated on 11 May 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc