Text this: Enhancing cybersecurity incident response: AI-driven optimization for strengthened advanced persistent threat detection