A Framework for Monitoring and Retraining Language Models in Real-World Applications