I’ve pasted a code snippet into an HTML file on my bubble page. It works for the most part. However, there is a part of the code snippet that gives chat GPT a custom prompt as you can see here:
However, I want to add a dynamic value into the AI prompt section so that the users can change the AI prompt themselves on the website. Here’s the PROBLEM: when I add the dynamic value into the ai prompt it does not update. I have tried using input values, custom states, and database types but whatever the value of these elements is when the page loads is what the prompt value ends up being. The dynamic value will not update when you change the input or custom state etc. This essentially is preventing the value from being dynamic and the users cannot create their own AI prompt. Do you know what could be causing this problem and not allowing the dynamic value to update?