A New Dialogue Response Generation Agent for Large Language Models by Asking Questions to Detect User's Intentions