1.0.4 • Published 1 year ago
conversational-language-understanding v1.0.4
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