@@ -25,8 +25,8 @@ class NoFactualInformationStepActions(Enum):
2525@dataclass
2626class FactCheckingVariants :
2727 """
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
3030 """
3131
3232 accurate_step : Variant = field (
@@ -115,14 +115,13 @@ def from_dict(cls, dictionary: List[Dict[str, Any]]):
115115 raise ValueError ("Missing variant" )
116116
117117 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+ )
126125
127126@dataclass
128127class FactCheckingDefinition :
@@ -150,7 +149,7 @@ def from_dict(cls, dictionary: Dict[str, Any]) -> "FactCheckingDefinition":
150149@dataclass
151150class FactCheckingTool :
152151 """
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
154153 """
155154
156155 name : str
0 commit comments