Exemplo n.º 1
0
 public DefaultBotsService(IUnitOfWork data,
                           INeuralNetworkService neuralNetworkService,
                           IIntentionRecognitionService botService) : base(data)
 {
     this._neuralNetworkService = neuralNetworkService;
     this._botService           = botService;
 }
Exemplo n.º 2
0
        public IntentionRecognitionHub(INeuralNetworkService neuralNetworkService,
                                       IIntentionRecognitionService intentionRecognitionService)
        {
            if (neuralNetworkService == null)
            {
                throw new ArgumentNullException(nameof(neuralNetworkService));
            }
            this._neuralNetworkService = neuralNetworkService;

            if (intentionRecognitionService == null)
            {
                throw new ArgumentNullException(nameof(intentionRecognitionService));
            }
            this._intentionRecognitionService = intentionRecognitionService;
        }
Exemplo n.º 3
0
 public IntentionRecognitionController(IBotService botService,
                                       IIntentionRecognitionService intentionRecognitionService)
 {
     this._intentionRecognitionService = intentionRecognitionService;
     this._botService = botService;
 }