A hierarchical RNN-based model for learning recommendation with session intent detection