1.1.1 • Published 6 years ago

n-clark v1.1.1

Weekly downloads
13
License
MIT
Repository
github
Last release
6 years ago

n-clark

LUIS.ai wrapper

Example

const luis = require('n-clark')({id: 'appId', key: 'subscriptionKey', host: 'eastus2'}),
  data = await luis.predict('input text here');

console.log(data);

Configuration

id = ''

LUIS.ai application ID

key = ''

Azure subscription key

host = 'westus'

LUIS.ai host to interact with

params = ''

Extra query string parameters (staging=true, etc.)

verbose = true

Verbose mode

debug = false

Debugging mode, captures input/output in this.results (Set of status, input, output)

API

predict (text)

Promise

Makes a request to LUIS.ai to predict the context of the request

reply (text, context, set)

Promise

Makes a request to LUIS.ai to analyse the reply in context

Properties

results

Set

Set of LUIS.ai requests & responses

License

MIT

1.1.1

6 years ago

1.1.0

6 years ago

1.0.9

7 years ago

1.0.8

7 years ago

1.0.7

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

0.0.1

7 years ago

1.0.0

7 years ago