R/genai.openai.chat.history.export.R

Defines functions genai.openai.chat.history.export

#' @noRd
genai.openai.chat.history.export = function(genai.openai.object) {
  return (genai.openai.object$chat.history$messages)
}

Try the GenAI package in your browser

Any scripts or data that you put into this service are public.

GenAI documentation built on May 29, 2024, 11:58 a.m.