Text this: Artificial intelligence and precautionary guardianship. Special reference to pre-trial detention