# Example data frame with role and content
df_example <- data.frame(
role = c("system", "user", "assistant","user"),
content = c("You allways only answer with two words",
"Why is the sky blue?",
"Rayleigh scattering",
"Why is the sun yellow?"),
stringsAsFactors = FALSE
)
df_llm_message(df_example)
Run the code above in your browser using DataLab