conversational-language-understanding
v1.0.4
Published
Conversational language understanding is part of Azure Language Studio and It can be used to create NLP application.
Downloads
14
Maintainers
Readme
CLU(Conversational Language Understanding)
Conversational language understanding is part of Azure Language Studio and It can be used to create NLP application.
Installation
Use the package manager [npm] to install Conversational language understanding.
npm i conversational-language-understanding
Example
const { CustomCLU } = require('conversational-language-understanding')
var Clu = new CustomCLU(CluEndpoint,CluSubscriptionKey,CluProjectName,CluDeploymentName)
async function CLU(context) {
let cluResult = await Clu.CluRecognizer(context)
console.log('cluResult', cluResult)
return cluResult.prediction
}
module.exports.CLU = CLU