Need Help! How can I saved the split data recieved by an API call to the relevant Profile?

I am recieving a list of answers from my GPT call in the format: [UniqueID : Numberin%]

Having used the splitby function to create a list of entries, I now want to save the [Numberin%] to the relevant profile by associating the Unique ID to the profiles. I can´t seem to find a way to do that, anyone has an idea?

You could use regex to extract it (try using GPT-4 to generate a Regex expression) but the best way is to get it to return a JSON and parse that. There are a handful of tutorials here and on Youtube for that.

1 Like