Skip to content

Annotation

Annotation

Bases: BaseModel

Class defining the annotation assigned to a file.

Source code in src/entity/annotation.py
 6
 7
 8
 9
10
11
class Annotation(BaseModel):
    """
    Class defining the annotation assigned to a file.
    """
    distribution: List[float]
    unannotated: bool