GPT-4 through Azure OpenAI writes the final narrative. Retrieval, scoring, selection and validation run in conventional code on Azure Functions, using Model Context Protocol profile data, JSON prompt templates, prompt versioning, generation event logging and an Angular internal frontend. Keeping the logic outside the model lets the client change models without rebuilding the product.