This function does not return a value but saves the experiment results to the specified Excel file.
Upon completion, "Done." will be printed to the console.
Arguments
gptConfig
A list containing the configuration for the language model, including the system prompt,
model specifications, and token settings.
savePath
The file path where the experiment results will be saved in Excel format.
Defaults to './output.xlsx' in the current working directory.
if (FALSE) {
runExperiment(Experiment_config,"./output.xlsx")
#The first argument Experiment_config is generated by preCheck() function.
Experiment_config <- preCheck(data)
}