Question: Following Homework 1 ChatGPT assignment, this assignment is to implement a program ( i . e . , using programming ) to read questions from
Following Homework ChatGPT assignment, this assignment is to implement a program ie using programming to read questions from an input excel file eg input.csv and then save the ChatGPT generate answers as another excel file eg output.csv Each row of the input excel file includes questions to ask ChatGPT each row corresponds to one question Your answers should also be saved as a pure text or excel file with each row corresponding to one answer. Here are required implementation:
a The program should read text from a given excel file eg a csv file and print out content of the first five lines using example.csv file posted on canvas as a template pt
b For text content in each row, please use the text as chatGPT input, and collect and print out ChatGPT answers pt
c Save chatGPT answers as another output.csv file without each answer being saved as one row All answers from your input.csv file should be saved as one output.csv file. This allows fast batch processinglater
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
