The recommendation agent can use both the set of businesses B and the history of question and answers H from the user to select the next query.
formally a recommendation agent is a function π : B × H → Att.