AI for precision farming, yield prediction, resource optimisation and supply chain management