Nothing
#' @noRd
genai.openai.chat.history.save = function(genai.openai.object,
file.name) {
write(jsonlite::toJSON(genai.openai.object$chat.history$messages, pretty = TRUE),
paste0(file.name, ".json"))
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.