I have a list of questions and answer boxes. I would like each one to have a suggest button that'll take a prompt i pregenerated and send it to chatgpt, and then use that to populate the inner list, inside the question/answer area from where it was called.
In the image you can see the suggestions (they are all coming from a single static list, which is why they are the same. this is not the behavior i am shooting for)
All the suggestions are in a list. Each question has a tag associated with it like [topic] or [title]
So I'm thinking that maybe i need to create and bind a complex object that's an object with "tag":[list of suggestions] in a variable in order to maintain all the suggestions and have them display properly in the inner lists?
If I have learned anything with toddle its that I keep trying to do things the hard way so I would like to know how I can make this work easier than maintaining that object, or even if the object idea is the way to do it. I was hoping there was a simpler way.