def convert_severity(severity: float) -> str:
        """
        :return: Float severity value to text
        """
        if severity < 4:
            return 'Low'
        if severity < 7:
            return 'Medium'
        return 'High'

        :return: Float severity value to text
        
contrib/internal_types/flan_types.py