OTTAWA — As the federal government explores new ways to use artificial intelligence, it's also being warned to keep the technology away from criminal justice, policy-making and hiring.