df <- data.frame(
stimulus = c("brick", "hammer", "sponge"),
response = c("butter for trolls", "make Thor jealous", "make it play in a kids show")
)
df <- oscai(df, stimulus, response, model = "davinci3")
# The 1.5 model and upwards works for multiple languages
df_polish <- data.frame(
stimulus = c("cegła", "młotek", "gąbka"),
response = c("masło dla trolli", "wywoływanie zazdrości u Thora", "postać w programie dla dzieci")
)
df_polish <- oscai(df_polish, stimulus, response, model = "1.5", language = "Polish")
Run the code above in your browser using DataLab