public PredictionMLService(PredictionEnginePool <ModelInput, ModelOutput> predictionEnginePool,
                            IDocumentosRepository <Document> documentosRepository, ILogger <PredictionMLService> logger)
 {
     _logger = logger;
     _predictionEnginePool = predictionEnginePool;
     _documentosRepository = documentosRepository;
 }
Example #2
0
 public UploadService(ILogger <UploadService> logger,
                      ImageService imageService,
                      //PredictionMLService predictionMLService,
                      IConfiguration configuration,
                      IDocumentosRepository <Document> documentosRepository)
 {
     _logger = logger;
     //_predictionMLService = predictionMLService;
     _documentosRepository = documentosRepository;
     _imageService         = imageService;
     PredictMLEndpoint     = configuration.GetValue <string>("PredictEndPoint");
 }
Example #3
0
 public DownloadService(ILogger <UploadService> logger,
                        IDocumentosRepository <Document> documentosRepository)
 {
     _logger = logger;
     _documentosRepository = documentosRepository;
 }
Example #4
0
 public DocumentosService(IDocumentosRepository repository)
 {
     _repository = repository;
 }