AI Detector A Complete Framework for Identifying Machine-Generated Content