Building capacity for artificial intelligence