I want to ask open AI 4 questions and write the answers into 4 different columns in excel. As far as i have understood, i need to ask these 4 questions via 4 different openAi operations in order to map the 4 answers to the 4 different columns in excel, is that correct?
Or is there a way to as my 4 questions, but get 4 “mappable” answers from one openAI-module?
You can copy the below json in prompt and ask gpt to generate in same structure.
[
{
“question1”:“null”,
“answer1”:“null”,
“question2”:“null”,
“answer2”:“null”,
“question3”:“null”,
“answer3”:“null”,
“question4”:“null”,
“answer4”:“null”
}
]
@drnic thank you so much - i do think that using JSON is actually the answer to many issues and questions in my current project.
i set up a little test where openAi generates 3 answers and hands them over to JSON, but i still can not manage for these 3 answers to be in seperate JSON Strings to i can then hand over to excel.
This solved my issue … and trying to adapt this logic to my project has taught me even more, by having to figure out how to fix all the errors I got … ha ha
To have an active community around MAKE is invaluable!
Glad to know! Once you think your issue is resolved and consider an answer as solution that you think helped you will make community clean and it will help others to locate the solution having same query.