def predict(self, text: Union[List[str], str], as_argilla_records: bool = True, **kwargs):
        """
        Predicts the label of the text.
        """

        Predicts the label of the text.
        
argilla-v1/src/argilla_v1/training/base.py