You, the player, don't. It's up to the NPC to decide and they're very imperfect. Though you can suggest or hint at it to encourage them to, it's not guaranteed. Try stretching out the RP of you going to... wherever, so the AI has more chances of just taking you there. Make up an excuse that you forgot something and have to go back to pull the scene back to your actual location to start the attempt over. That's what I'd do. If it doesn't work after the second try, I'd wrap up the conversation there, since they aren't playing along, why bother to continue. Try again another day.
You can simply correct it in an explicit manner while out of character for the AI to do such, format is like this; '(OOC: Player should've been moved to X location based on the conversation, please move us there for the sake of consistency)' And the AI will usually comply without breaking character.