public RecognitionService(ISettings settings, IIntentService intentService, ILuisService luisService, ILogger <RecognitionService> logger) { _settings = settings; _intentService = intentService; _luisService = luisService; _logger = logger; }
/// <summary> /// Initializes a new LuisIntentDialog /// </summary> /// <param name="intentService"></param> /// <param name="intentFactory"></param> /// <param name="intentHandlerFactory"></param> /// <param name="logger"></param> public IntentDialog( IIntentService intentService, IIntentFactory intentFactory, IntentHandlerFactory intentHandlerFactory, OAuthDialog oAuthDialog, ILogger <IntentDialog> logger) : base(nameof(IntentDialog), intentFactory, intentHandlerFactory, oAuthDialog, logger) { this.intentService = intentService; }
/// <summary> /// Initializes the application core services. /// </summary> /// <returns>A <see cref="Task"/> that represents the asynchronous operations.</returns> public async Task InitializeAsync() { intent = new IntentService(this); localization = new LocalizationProvider(this); intent.Initialize(); await Configuration.InitializeAsync().ConfigureAwait(false); await localization.InitializeAsync().ConfigureAwait(false); }
public GeneralDialog(ILuisService luisService, IIntentService intentService) { var waterfallSteps = new WaterfallStep[] { MessageGeneral }; AddDialog(new WaterfallDialog(nameof(WaterfallDialog), waterfallSteps)); _luisService = luisService; _intentService = intentService; }
public RootDialog(ILuisService luisService, IIntentService intentService) { _luisService = luisService; _intentService = intentService; var waterfallSteps = new WaterfallStep[] { InitialProcess, FinalProcess }; AddDialog(new WaterfallDialog(nameof(WaterfallDialog), waterfallSteps)); AddDialog(new GeneralDialog(luisService, _intentService)); InitialDialogId = nameof(WaterfallDialog); }
/// <inheritdoc /> /// <summary> /// Constructor /// </summary> /// <param name="factory"></param> public IntentController(IChatBotDataFactory factory) { _intentService = factory.GetIntentService(); _mapper = factory.GetMapperService(); }
public IntentController(IIntentService intentService, IConfiguration Config) { _intentService = intentService; config = Config; }
public AvailabilityController(IIntentService intentService) { _intentService = intentService; }
/// <summary> /// Constructor /// </summary> /// <param name="factory"></param> /// <param name="chatbotDataContext"></param> public InterviewService(IChatBotDataFactory factory, IChatBotDataContext chatbotDataContext) { _chatbotDataContext = chatbotDataContext; _resourceService = factory.GetResourceService(Common.Constants.ResourceComponent); _intentService = factory.GetIntentService(); }
public IntentController(IIntentService intentService) { _intentService = intentService; }