public GetHelpDialog(LuisSetup luisRecognizer, ILogger <GetHelpDialog> logger, UserState userState, NoUnderstandDialog noUnderstand, GiveOptionsDialog giveOptions, GoodbyeDialog goodbye, IHttpClientFactory httpClient, IConfiguration configuration, NoPermissionDialog noPermission) : base(nameof(GetHelpDialog)) { _recognizer = luisRecognizer; _userState = userState; _configuration = configuration; _httpClientFactory = httpClient; Logger = logger; AddDialog(new TextPrompt(nameof(TextPrompt))); AddDialog(new ChoicePrompt(nameof(ChoicePrompt))); AddDialog(noUnderstand); AddDialog(giveOptions); AddDialog(goodbye); AddDialog(noPermission); AddDialog(new WaterfallDialog(nameof(WaterfallDialog), new WaterfallStep[] { AskHelpAsync, WhatToHelpAsync, RetryWhatToHelpAsync, QnaGoToAsync, EndAsync, })); InitialDialogId = nameof(WaterfallDialog); }
public SendContactDialog(LuisSetup luisRecognizer, ILogger <SendContactDialog> logger, UserState userState, GoodbyeDialog goodbye, NoPermissionDialog noPermission) : base(nameof(SendContactDialog)) { _recognizer = luisRecognizer; _userState = userState; Logger = logger; AddDialog(new TextPrompt(nameof(TextPrompt))); AddDialog(new ChoicePrompt(nameof(ChoicePrompt))); AddDialog(goodbye); AddDialog(noPermission); AddDialog(new WaterfallDialog(nameof(WaterfallDialog), new WaterfallStep[] { SendAsync, FinalStepAsync, EndAsync, })); InitialDialogId = nameof(WaterfallDialog); }
public SuitCustomerNeedsDialog(LuisSetup luisRecognizer, ILogger <SuitCustomerNeedsDialog> logger, UserState userState, NoPermissionDialog noPermission) : base(nameof(SuitCustomerNeedsDialog)) { _recognizer = luisRecognizer; _userState = userState; Logger = logger; //AddDialog(new MainDialog()); AddDialog(new TextPrompt(nameof(TextPrompt))); AddDialog(new ChoicePrompt(nameof(ChoicePrompt))); AddDialog(noPermission); AddDialog(new WaterfallDialog(nameof(WaterfallDialog), new WaterfallStep[] { GetEmployeeAsync, GoToEmployeeAsync, EndAsync, })); InitialDialogId = nameof(WaterfallDialog); }
public TrueNoToMainDialog(LuisSetup luisRecognizer, ILogger <TrueNoToMainDialog> logger, UserState userState, IConfiguration configuration, IHttpClientFactory httpClientFactory, GoodbyeDialog goodbye, NoPermissionDialog noPermission) : base(nameof(TrueNoToMainDialog)) { _recognizer = luisRecognizer; _userState = userState; _configuration = configuration; _httpClientFactory = httpClientFactory; Logger = logger; //AddDialog(new MainDialog()); AddDialog(new TextPrompt(nameof(TextPrompt))); AddDialog(new ChoicePrompt(nameof(ChoicePrompt))); AddDialog(goodbye); AddDialog(noPermission); AddDialog(new WaterfallDialog(nameof(WaterfallDialog), new WaterfallStep[] { PreQnaAsync, QnaAsync, RetryEnd, EndAsync, })); InitialDialogId = nameof(WaterfallDialog); }
public InfoSendNotClientDialog(LuisSetup luisRecognizer, ILogger <InfoSendNotClientDialog> logger, UserState userState, NoPermissionDialog noPermission, NoUnderstandDialog noUnderstand, GetPhoneDialog getPhone, GoodbyeDialog goodbye) : base(nameof(InfoSendNotClientDialog)) { _recognizer = luisRecognizer; _userState = userState; Logger = logger; AddDialog(new TextPrompt(nameof(TextPrompt))); AddDialog(new ChoicePrompt(nameof(ChoicePrompt))); AddDialog(noPermission); AddDialog(noUnderstand); AddDialog(getPhone); AddDialog(goodbye); AddDialog(new WaterfallDialog(nameof(WaterfallDialog), new WaterfallStep[] { WantMoreAsync, YesNoAsync, RetryYesNoAsync, EndAsync, })); InitialDialogId = nameof(WaterfallDialog); }
public GetPhoneDialog(LuisSetup luisRecognizer, ILogger <GetPhoneDialog> logger, UserState userState, NoPermissionDialog noPermission) : base(nameof(GetPhoneDialog)) { _recognizer = luisRecognizer; _userState = userState; Logger = logger; AddDialog(new TextPrompt(nameof(TextPrompt))); AddDialog(new ChoicePrompt(nameof(ChoicePrompt))); AddDialog(noPermission); AddDialog(new WaterfallDialog(nameof(WaterfallDialog), new WaterfallStep[] { PleaseSendAsync, FinalAsync, EndAsync, })); InitialDialogId = nameof(WaterfallDialog); }
public GetAssistantDialog(LuisSetup luisRecognizer, ILogger <GetAssistantDialog> logger, UserState userState, NoPermissionDialog noPermission, SuitCustomerNeedsDialog suitCustomer, NoUnderstandDialog noUnderstand, GoodbyeDialog goodbye) : base(nameof(GetAssistantDialog)) { _recognizer = luisRecognizer; _userState = userState; Logger = logger; AddDialog(new TextPrompt(nameof(TextPrompt))); AddDialog(new ChoicePrompt(nameof(ChoicePrompt))); AddDialog(noPermission); AddDialog(suitCustomer); AddDialog(noUnderstand); AddDialog(goodbye); AddDialog(new WaterfallDialog(nameof(WaterfallDialog), new WaterfallStep[] { WantAsync, RetryWantAsync, EndAsync, })); InitialDialogId = nameof(WaterfallDialog); }
public WhereToReceiveDialog(LuisSetup luisRecognizer, ILogger <WhereToReceiveDialog> logger, UserState userState, NoUnderstandDialog noUnderstand, GetAssistantDialog getAssistant, NoPermissionDialog noPermission, GoodbyeDialog goodbye) : base(nameof(WhereToReceiveDialog)) { _recognizer = luisRecognizer; _userState = userState; Logger = logger; //AddDialog(new MainDialog()); AddDialog(new TextPrompt(nameof(TextPrompt))); AddDialog(new ChoicePrompt(nameof(ChoicePrompt))); AddDialog(noUnderstand); AddDialog(getAssistant); AddDialog(noPermission); AddDialog(goodbye); AddDialog(new WaterfallDialog(nameof(WaterfallDialog), new WaterfallStep[] { OkEmployeeAsync, EndOkEmployeeAsync, RetryEndOkEmployeeAsync, EndAsync, })); InitialDialogId = nameof(WaterfallDialog); }