Actually, we're
closer than you think.
I don't know the mechanics of it, but I know that it is indeed possible to emulate personalities in a conversational manner, to some degree.
That's cool, though haven't tried it. But that's also a game designed basically entirely around the concept of an AI chatbot. And it's hard to say how much of that is essentially pre-written out answers to obvious questions or interactions the player would have, plus some basic algorithms. Probably how a chatbot in an RPG would work as well for the near future. Yonjuro is right also that a lack of data in a fantasy environment makes creating a truly dynamic AI chatbot pretty difficult.