Api.ai Recognizer to BotFramework implement the structure like LUIS Recognizer

Usage no npm install needed!

<script type="module">
  import apiaiRecognizerBotbuilder from 'https://cdn.skypack.dev/apiai-recognizer-botbuilder';


Api.ai recognizer for botbuilder

This library allows the use of api.ai on botbuilder through a recognizer just like LuisRecognizer

Example of use:


import { ApiAiRecognizer } from 'apiai-recognizer-botbuilder';
const bot = new UniversalBot(connector);
const TOKEN_APIAI = 'insert here the token of api ai';
bot.recognizer(new ApiAiRecognizer(TOKEN_APIAI, 'en'));

Then just make the dialogs like LuisRecognizer works