@@ -25,8 +25,8 @@ class NoFactualInformationStepActions(Enum):
25
25
@dataclass
26
26
class FactCheckingVariants :
27
27
"""
28
- This class is used to define the possible options for evaluating a step
29
- Currently the options are correct, neutral, and incorrect
28
+ List of possible fact checking variants (options)
29
+ Note variant kinds can not be changed
30
30
"""
31
31
32
32
accurate_step : Variant = field (
@@ -115,14 +115,13 @@ def from_dict(cls, dictionary: List[Dict[str, Any]]):
115
115
raise ValueError ("Missing variant" )
116
116
117
117
return cls (
118
- accurate_step = accurate_step ,
119
- inaccurate_step = inaccurate_step ,
120
- disputed_step = disputed_step ,
121
- unsupported_step = unsupported_step ,
122
- cant_confidently_assess_step = cant_confidently_assess_step ,
123
- no_factual_information_step = no_factual_information_step ,
124
- ) # type: ignore
125
-
118
+ accurate_step = accurate_step , # type: ignore
119
+ inaccurate_step = inaccurate_step , # type: ignore
120
+ disputed_step = disputed_step , # type: ignore
121
+ unsupported_step = unsupported_step , # type: ignore
122
+ cant_confidently_assess_step = cant_confidently_assess_step , # type: ignore
123
+ no_factual_information_step = no_factual_information_step , # type: ignore
124
+ )
126
125
127
126
@dataclass
128
127
class FactCheckingDefinition :
@@ -150,7 +149,7 @@ def from_dict(cls, dictionary: Dict[str, Any]) -> "FactCheckingDefinition":
150
149
@dataclass
151
150
class FactCheckingTool :
152
151
"""
153
- Use this class in OntologyBuilder to create a tool for step fact checking
152
+ Use this class in OntologyBuilder to create a tool for fact checking
154
153
"""
155
154
156
155
name : str
0 commit comments