As long as we have a reward function, Reinforcement Learning allows one to automatically compute the best policy.
we wish to find the best combination of states and actions to maximize the reward at the end of the dialogue.