Whats the best way to update a column entry after the fact.
For example , I have generated a summary for a topic using computed ai column. But now I want the user to be able to adjust the reading level of this i.e 5th grade level to be updated to 10th grade reading level.
Your prompt is still not using that Student level at all. The prompt is still static, so changing the student level is not modifying the prompt, so it’s not going to have any bearing on the AI response.
The template should be dynamically modifying the prompt. Instead you are trying to use a template to modify the AI response. That response most likely has nothing to replace so the template probably isn’t doing much of anything right now.
It’s the prompt that needs to become dynamic from a template column.
Sorry, I haven’t used any of the AI stuff. But, what’s the error?
To be clear, you are not trying to use the existing template created from the AI response as the prompt correct? That wouldn’t make sense. The template should contain your original prompt, along with a replacement for the grade level.
It’s cyclic because you are trying to use a response to build a prompt to build a response to build a prompt etc. etc. etc.
Build the correct prompt the first time and you will get the correct response. Don’t mess with the response. Mess with the prompt, And the response will change accordingly.
To put it a different way with an analogy…If I ask you a question and you give me an answer that I’m not happy with, I respond by asking a better question. I don’t take your answer and inject my own words into it. My question is the prompt and your answer is the response.