def prediction_as_tuples(cls, prediction: Optional[List[Union[str, Tuple[str, float]]]]):
        """Preprocess the predictions and wraps them in a tuple if needed"""
        if prediction is None:
            return prediction
        return [(pred, 1.0) if isinstance(pred, str) else pred for pred in prediction]
Preprocess the predictions and wraps them in a tuple if needed
argilla-v1/src/argilla_v1/client/models.py