Exemple #1
0
 public ApiController(
     ILogger <ApiController> logger,
     INlpBackgroundTaskQueue taskQueue,
     ITextServiceApi textServiceApi,
     INlpServiceApi nlpServiceApi,
     ITransformerServiceApi transformerServiceApi,
     ITopBraidEdgApi topBraidEdgApi,
     IAuthenticationApi authenticationApi,
     ITextServiceHelper textServiceHelper,
     INlpServiceHelper nlpServiceHelper,
     ITransformerServiceHelper transformerServiceHelper,
     AuthenticationServiceSettings authenticationServiceSettings,
     TextServiceSettings textServiceSettings,
     NlpServiceSettings nlpServiceSettings,
     TransformerServiceSettings transformerServiceSettings,
     KnowledgeServiceSettings knowledgeServiceSettings
     )
 {
     _logger                        = logger;
     _taskQueue                     = taskQueue;
     _textServiceApi                = textServiceApi;
     _nlpServiceApi                 = nlpServiceApi;
     _transformerServiceApi         = transformerServiceApi;
     _topBraidEdgApi                = topBraidEdgApi;
     _authenticationApi             = authenticationApi;
     _textServiceHelper             = textServiceHelper;
     _nlpServiceHelper              = nlpServiceHelper;
     _transformerServiceHelper      = transformerServiceHelper;
     _authenticationServiceSettings = authenticationServiceSettings;
     _textServiceSettings           = textServiceSettings;
     _nlpServiceSettings            = nlpServiceSettings;
     _transformerServiceSettings    = transformerServiceSettings;
     _knowledgeServiceSettings      = knowledgeServiceSettings;
 }
Exemple #2
0
 public NlpQueuedHostedService(
     INlpBackgroundTaskQueue taskQueue,
     ILogger <NlpQueuedHostedService> logger
     )
 {
     TaskQueue = taskQueue;
     _logger   = logger;
 }