feat(contexts): add new dialogflowcx

This commit is contained in:
Juan Daniel
2022-12-21 23:08:23 +01:00
parent 478929d134
commit 9885872991
4 changed files with 146 additions and 1 deletions

View File

@@ -0,0 +1,14 @@
const DialogCXFlowClass = require('./dialogflow-cx.class')
/**
* Crear instancia de clase Bot
* @param {*} args
* @returns
*/
const createBotDialog = async ({ database, provider }, _options) =>
new DialogCXFlowClass(database, provider, _options)
module.exports = {
createBotDialog,
DialogCXFlowClass,
}