ai and its role