Type 1 diabetes: AI could help people manage their condition