Generate new prompts from each line in a Google Sheet

Hi!

I want to generate a separate prompt thread in openai GPT for each line in a google sheet. I suspect that the Google Sheet to OpenAI integration is actually prompting in the same discussion thread because after 30 or so iterations, I end up getting the same results although the google sheet prompt input differs.

Is the solution in Stop Sequence parameters?



I think this is happening because you have manually added the data and not mapped anything in chatgpt module
the rows are working fine but there is no mapping of it to chatgpt module

also threads are only supported in assistants right now

2 Likes

Thanks @ThakurHemansh
I do link the chatGPT interface to the Google sheet, see below:

i think you should try changing the prompts little bit
instead of telling it the sample data first and then telling it about the brand
Write a PROMPT for each of the TACTI C provided as input. Take into account the Fairy BRAND and Hotel and Restaurants in France as CONTEXT to adapt t he TACTIC.

EXAMPLE

INPUT:
BRAND: Fairy dishwashing - Superior C lean & Shine, designed for professional
S.

here you should directly put the value in instead of giving it the example company