GPT and type 2 diabetes mellitus: In conclusion, our research sheds light on the AST/ALT ratio as a potential indicator associated with the risk of diabetic retinopathy in type 2 diabetes patients.