AI technology being tested to detect type two diabetes