How AI can make conversational agents smarter