@kiina/ml-processor
v2.3.1
Published
This package acts as an API for our machine learning text processor, in a way that we does not need to communicate to the 3-party app directly. We'll always use this class and whenever we decide to move away from it and start using a different one, the AP
Downloads
8
Keywords
Readme
Machine Learning processor
This package acts as an API for our machine learning text processor, in a way that we does not need to communicate to the 3-party app directly. We'll always use this class and whenever we decide to move away from it and start using a different one, the API must be preserved.
Installation
npm install @kiina/ml-processor
Usage
const MachineLearningProcessor = require('@kiina/ml-processor');
const mlp = new MachineLearningProcessor('my-agent-id');
mlp.processText('This is the text that should be processed', 'userid')
.then(response => {
// ...
});