You've already forked DataMate
init datamate
This commit is contained in:
27
frontend/src/pages/DataAnnotation/annotation.model.ts
Normal file
27
frontend/src/pages/DataAnnotation/annotation.model.ts
Normal file
@@ -0,0 +1,27 @@
|
||||
import type { DatasetType } from "@/pages/DataManagement/dataset.model";
|
||||
|
||||
export enum AnnotationTaskStatus {
|
||||
ACTIVE = "active",
|
||||
PROCESSING = "processing",
|
||||
INACTIVE = "inactive",
|
||||
}
|
||||
|
||||
export interface AnnotationTask {
|
||||
id: string;
|
||||
name: string;
|
||||
annotationCount: number;
|
||||
createdAt: string;
|
||||
datasetId: string;
|
||||
description?: string;
|
||||
assignedTo?: string;
|
||||
progress: number;
|
||||
statistics: {
|
||||
accuracy: number;
|
||||
averageTime: number;
|
||||
reviewCount: number;
|
||||
};
|
||||
status: AnnotationTaskStatus;
|
||||
totalDataCount: number;
|
||||
type: DatasetType;
|
||||
updatedAt: string;
|
||||
}
|
||||
Reference in New Issue
Block a user