I am looking to extract data within an array to pass information to ChatGPT. Currently my array is comprised of “collections” where the collections are call transcripts, so collection 1 is speaker A, then collection 2 is speaker B, and so on for as many collections as it takes to finish the conversation. I am looking for a way to extract all the collection data to have a complete call transcription to be able to load into ChatGPT to ask questions over. Any help or insight would be HUGE! Here is what the data looks like in JSON format.
out.json (8.5 KB)
Here is the data structure, I am only displaying the first 20 or so but I could have hundreds of collections within the array.
Hey @Derek_Caldwell,
How do you wish to collate or combine all the transcripts?
You just need to iterate on the “transcriptionV2.Data” array, then aggregate the parts of them you need into an array or text structure, depending on what you need.
Please see this
extracting-values-of-multiple-collections-in-an-array-60267.json (11.5 KB)
on how to get a result like this:
2 Likes
THIS IS PERFECT!!! Thank you for taking the time to help, I appreciate it @Donald_Mitchell !!!
1 Like