diff --git a/frontend/services/application/tasks/text.classification.service.ts b/frontend/services/application/tasks/text.classification.service.ts index e24ec941..4bb40396 100644 --- a/frontend/services/application/tasks/text.classification.service.ts +++ b/frontend/services/application/tasks/text.classification.service.ts @@ -30,4 +30,8 @@ export class TextClassificationApplicationService { public async delete(projectId: string, docId: number, annotationId: number): Promise { await this.repository.delete(projectId, docId, annotationId) } + + public async clear(projectId: string, docId: number): Promise { + await this.repository.clear(projectId, docId) + } }