Neodymium Plated Magnet

    @botonic/plugin-luis

    0.20.0 • Public • Published

    Botonic Plugin Luis

    What Does This Plugin Do?

    Botonic plugin that use LUIS as NLU service. The variables intent, confidence, entities and intents will be automatically available inside the input object.

    Setup

    To integrate your bot with Luis, you must use the intent example, which comes with @botonic/plugin-luis by default.

    1. Run botonic new test-bot intent to install the plugin automatically.
    2. Add the plugin to the src/plugins.js file.
    export const plugins = [
      {
        id: 'luis',
        resolve: require('@botonic/plugin-luis'),
        options: {
          region: 'YOUR_REGION',
          appID: 'YOUR_APP_ID',
          endpointKey: 'YOUR_ENDPOINT_KEY',
        },
      },
    ]

    Use

    1. Import the plugin in src/index.js. src/index.js
      export { routes } from './routes'
      export { locales } from './locales'
      export { plugins } from './plugins'
      export { webchat } from './webchat'
      export { webviews } from './webviews'

    Install

    npm i @botonic/plugin-luis

    DownloadsWeekly Downloads

    14

    Version

    0.20.0

    License

    MIT

    Unpacked Size

    2.85 kB

    Total Files

    3

    Last publish

    Collaborators

    • ahubstre
    • manuelfidalgo
    • ericmarcos
    • khaeshah
    • mrabat
    • elozano
    • ainavendrell