Training microrobots to swim by a large language model