I found that asking chatgpt for something 5 times is way less interesting and diverse than if you ask it for 5 of something.
So I am changing my approach to use a query like this:
5 topics for a book about dogs. answer in json as a list []
which is consistently returning data that looks like this:
[
"Different breeds of dogs and their unique traits",
"Training methods and tips for dogs of all ages",
"Understanding dog behavior and communication",
"Health care and nutrition for dogs",
"The bond between dogs and humans throughout history"
]
which I thought would be useful?
I need to send this back out as a list but i'm not sure what to do. if i simply assign this to an array does it become separate entries in the array or do i need to split it using regex or what?
i want to send a list out of xano so my webflow can use it as a list.
there's so many ways to do it there must be a way to convert from json to list
splitting results into array
8 replies