2.4.17 • Published 4 years ago

basebot-util-qnamaker v2.4.17

Weekly downloads
2
License
MIT
Repository
github
Last release
4 years ago

basebot-util-qnamaker

Replaces the default response function.

When an intent can't be matched to a skill, this module will first search QNA maker for a matching response, before returning the default response if nothing is matched.

Usage

Requires the following env vars:

QNA_HOST The host URL for QNA Maker

QNA_KBID The knowledgebase ID you wish to reference

QNA_KEY Your QNA Maker key

QNA_THRESHOLD the confidence rating to accept (default is 70/100)

services/middleware/production.js

  import qnaMaker from 'basebot-util-qnamaker'
  import { logger } from './services'
  //...
  {
    type: 'heard',
    handler: qnaMaker(logger)
  }
2.4.17

4 years ago

2.4.16

4 years ago

2.4.14

4 years ago

2.4.13

4 years ago

2.4.0

5 years ago

2.2.3

5 years ago

2.2.2

5 years ago

2.2.0

5 years ago

2.1.32

5 years ago

2.1.17

5 years ago

2.1.14

5 years ago

2.1.0

5 years ago

2.0.2

5 years ago

1.0.0

5 years ago

0.5.2

5 years ago