R/default_chat.R

Defines functions get_default_chat

Documented in get_default_chat

#' Get or create the default chat object
#' @return A Chat object. 
#' @export
get_default_chat <- function() {
  default_chat <- ellmer::chat_openai()
  return(default_chat)
}

Try the emend package in your browser

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

emend documentation built on April 4, 2025, 2:38 a.m.