How AI understands user intent in search