Recime Natural Languge Provider Module
The purpose of this module is to extract the texts for configured intents using console.recime.io
dashboard.
On you have defined intents and confgired them from your dashboard. Save the module to your project by typing the following command:
npm install --save recime-nlp-provider
Import the module by copy & pasting the following:
import nlp from "recime-nlp-provider";
Once after that, make a request in the following way (this.args.text
):
nlp.textRequest("Where is Paris").then ((result)=>{
if (result.entities.location){
// TODO://
}
}, (err)=>{
console.error(err);
});
License
Copyright © 2017 Recime Inc. All rights reserved.