Adversarial Attack Detection Framework for LLMs