A Framework for Real-time Safeguarding the Text Generation of Large Language Model | Synapse