df <- data.frame(
Run = c(1,2),
Item = c(1,2),
Event =c(1,1),
Condition = c(1,2),
TargetPrompt = c("please repeat this sentence: test1","please repeat this sentence: test2")
)
ExperimentItem=loadData(df$Run,df$Item,df$Event,df$Condition,promptList = df$TargetPrompt)
Design=experimentDesign(ExperimentItem,session=1)
gptConfig=preCheck(Design, systemPrompt="You are a participant in a psychological experiment",
imgDetail="low",temperature=0.7)
Run the code above in your browser using DataLab