One of the easiest ways to make an AI work is to give it instructions. The following is an example.
AI can easily reverse the position of a person's name, using command prompts, it can also handle more complex problems.
From the example, it can be seen that the model can make inferences based on instructions. It knows to automatically replace Cheap Dealz with [DEALERSHIP] and Jimmy Smith with [SALESPERSON] without anyone having to tell you.