The UN General Assembly has adopted a resolution on strengthening international cooperation in the capacity building of artificial intelligence.