How to perform form refresh to trigger GEN AI logic

My requirement is here. As i updated the prompt then it should re-summarize the docs in the same screen. What has to be my form refresh logic.

We can use Form Refresh Settings + Property or Parameters to achieve it based on your requirements. Please check this post - Real-time tuning for GenAI Connect Responses

For more Gen AI articles - Pega GenAI Cookbook: Agentic AI Recipes