package
LUIS.ai wrapper
npm install n-clarkGitHub-flavored package documentation.
Across all versions.
Download trend unavailable.
Runtime metadata.
Tagged topics.
Estimated unpacked size across 6 packages.
185.1 kB
Includes dependencies.
LUIS.ai wrapper
const luis = require('n-clark')({id: 'appId', key: 'subscriptionKey', host: 'eastus2'}),
data = await luis.predict('input text here');
console.log(data);LUIS.ai application ID
Azure subscription key
LUIS.ai host to interact with
Extra query string parameters (staging=true, etc.)
Verbose mode
Debugging mode, captures input/output in this.results (Set of [status, input, output])
Promise
Makes a request to LUIS.ai to predict the context of the request
Promise
Makes a request to LUIS.ai to analyse the reply in context
Set
Set of LUIS.ai requests & responses
MIT