UNPKG

reviews-analysis

Version:

Analyse public vehicle reviews via ML (Aylien) and save the data into a Document Store (Mongo). Supports Classifications and Document and Aspect level Sentiment Analysis.

11 lines (10 loc) 296 B
/* * Lambda function used for environment tests. */ exports.handler = function(event, context) { if (event.directive.endpoint.endpointId == "potato-device-97") { context.done(null, {"res": event.directive.endpoint.endpointId}); } else { context.fail("Failed"); } };