GPT adding data to Firestore

I’m trying to get the output from gpt3.5 and splitting the result by comma. The result should be added to a Firestore DB as an array.

My issue:

When i try to add the array into my Firestore Database it will only add the first value of the array:

I would like to see this result inside Firestore:

A new Document with a Array and all the corresponding Values inside the array.

Can somebody support me with this? I’m trying to make it work since like 3 Days. Loosing Hope.

Hi @Salowos

To resolve your problem, utilize the array aggregator and ensure to correctly choose the “Target structure type” for Google Cloud Firestore and map the aggregator array to Document field.

Thanks & Regards

MSquare Support
Visit us here
Youtube Channel