From b858673a6ac9c343dac26d2b358baa39d51b2ddf Mon Sep 17 00:00:00 2001 From: Hironsan Date: Fri, 12 Mar 2021 10:07:03 +0900 Subject: [PATCH] Add auto label method to the service --- .../services/application/tasks/text.classification.service.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/frontend/services/application/tasks/text.classification.service.ts b/frontend/services/application/tasks/text.classification.service.ts index 4bb40396..56381b8b 100644 --- a/frontend/services/application/tasks/text.classification.service.ts +++ b/frontend/services/application/tasks/text.classification.service.ts @@ -34,4 +34,8 @@ export class TextClassificationApplicationService { public async clear(projectId: string, docId: number): Promise { await this.repository.clear(projectId, docId) } + + public async autoLabel(projectId: string, docId: number): Promise { + await this.repository.autoLabel(projectId, docId) + } }