A Framework for building Chat-based Recommender Systems