rapyd-ai
v1.0.4
Published
We make building AI-products faster and easier.Data Scientists, Developers, Product Devs ❤️ RAPYD.AI
Downloads
5
Readme
RAPYD-AI
Here you find the guidline how to use rapyd-ai npm package.
const rapydai = require('rapyd-ai')(accountId, username, password);
const text;
const provider;
// create token
const tokenResult = await rapydai.getToken();
const token = idToken.raw_body.idToken;
// call sentiment
const sentimentResult = await rapydai.sentiment(text, provider, token);