runExperiment | R Documentation |
Executes the experiment and saves the results to an Excel file.
runExperiment(gptConfig, savePath = "./output.xlsx")
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. |
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.
## Not run:
runExperiment(Experiment_config,"./output.xlsx")
#The first argument Experiment_config is generated by preCheck() function.
Experiment_config <- preCheck(data)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.