Spot and fix supply chain problems with artificial intelligence