AI chat companion: how it actually works