Can someone please help with this?
We have done a lot of searching and experimentation, but just keep hitting a brick wall.
Thanks so much in advance.
Situation- I have the following command prompt:
- Parse all headers.
- Add a new key attribute called “Filter” to the end of dataset table.
- Concentrate on the content under these headers: ‘Name Of Reviewer’, ‘Date Of Review’ ‘User Location’, 'Review Score Given", ‘Review Description’,
- If a reviewer with an identical username has posted multiple reviews in the same calendar year with the same score, label all except the earliest review as “Bias” under the ‘Filter’ attribute
Notes: We are sending the data from a Google spreadsheet to OpenAI in a valid JSON format, asking it to complete the above steps and return the output data in a valid JSON format - which we later translate back into a new Googlesheet.
What works: Data is being read from Google Sheets and sent to OpenAI in a valid JSON format.
What is not working: GPT is not analysing the data properly and putting the word ‘Bias’ into the Filter column.
The same data and command prompt works perfectly if we were to use Open AI playground with the all of the same parameters.
Outcode contains the following instructions:
first_query = “You are a helpful assistant. you must only respond with a valid JSON string. Do not Add any comment. The format should be [{…}] without root node.”
else:
first_query = system_message + " you must only respond valid json string. Do not Add any comment. The format should be [{…}] without root node."