Options
All
  • Public
  • Public/Protected
  • All
Menu

Handle the ask loop on knowledge base data or delegate to other services.

Hierarchy

  • IGBDialog
    • AskDialog

Index

Constructors

constructor

Properties

bot

bot: BotAdapter

service

service: GBService

Static deployer

deployer: any

Methods

Static Private getAnswerDialog

  • getAnswerDialog(min: GBMinInstance, service: KBService): (Anonymous function)[]

Static Private getAnswerEventDialog

  • getAnswerEventDialog(service: KBService, min: GBMinInstance): (Anonymous function)[]

Static Private getAskDialog

  • getAskDialog(min: GBMinInstance): (Anonymous function)[]

Static Private getChannel

  • getChannel(step: any): string

Static Private handleAnswer

Static setup

  • setup(bot: BotAdapter, min: GBMinInstance): void
  • Setup dialogs flows and define services call.

    Parameters

    • bot: BotAdapter

      The bot adapter.

    • min: GBMinInstance

      The minimal bot instance data.

    Returns void

Generated using TypeDoc