Legal and ethical aspects of deploying artificial intelligence in climate-smart agriculture