The First Minister was speaking ahead of an address at the AgriScot conference in Edinburgh on Wednesday.