The government has said it wants to persuade the Taliban to leave through negotiations.