public StateMachine(IBotFlowService botFlowService,
                     IUserSemaphoreService userSemaphoreService,
                     IVariableService variableService,
                     ICustomActionService customActionService,
                     IStateMachineService stateMachineService,
                     INlpProvider nlpProvider)
 {
     _botFlowService       = botFlowService;
     _userSemaphoreService = userSemaphoreService;
     _variableService      = variableService;
     _stateMachineService  = stateMachineService;
     _customActionService  = customActionService;
     _nlpProvider          = nlpProvider;
 }
Exemple #2
0
 internal void PopulateNlpResponse(string input, INlpProvider nlpProvider)
 {
     LazyNlpResponse = new Lazy <Task <NlpResponse> >(() => nlpProvider.GetNlpResponse(input, Identity));
 }