UNPKG

@ebonydevcopy/framework

Version:

A module-based NodeJS chatbot framework.

18 lines 505 B
/** * ebony-framework * * @module routers/IntentRouter * @author Christos Panagiotakopoulos <chrispanag@gmail.com> * @copyright Copyright(c) 2020 Christos Panagiotakopoulos * @license MIT * */ import BasicRouter from './BasicRouter'; import { WitNLP } from '../interfaces/nlp'; /** * Intent router class */ export default class IntentRouter extends BasicRouter { intentRouter<U>(user: U, msg: any, nlp: WitNLP): ((...args: any[]) => any) | false; } //# sourceMappingURL=IntentRouter.d.ts.map