R/data.R

#' Essay on How Donald Trump Became President of the United States
#'
#' This dataset contains an essay describing how Donald Trump became the 45th
#' President of the United States in 2016. The essay is written in the style of
#' Mark Twain, a famous American writer known for his satirical and humorous
#' style.
#'
#' @format ## `trump`
#' A character string.
#' @source This essay was written by a language model trained by OpenAI.
#'
"trump"



#' Input: message content template for extract_entities()
#'
#' This message content serves as user input for the extract_entities function.
#'
#' @format ## `extract_entities_prompt`
#' A data frame with 2 rows and 2 columns representing the messages object in API calls.
#' @source Contributed by umatter
#'
"extract_entities_prompt"


#' Input: message content template for references_to_bibtex()
#'
#' This message content serves as user input for the references_to_bibtex
#' function.
#'
#' @format ## `references_to_bibtex_prompt`
#' A data frame with 4 rows and 2 columns representing the messages object in API calls.
#' @source Contributed by umatter
#'
"references_to_bibtex_prompt"


#' Input: message content template for add_roxygen()
#'
#' This message content serves as user input for the add_roxygen function.
#'
#' @format ## `add_roxygen_prompt`
#' A data frame with 2 rows and 2 columns representing the messages object in API calls.
#' @source Contributed by umatter
#'
"add_roxygen_prompt"


#' Input: message content template for write_test()
#'
#' This message content serves as user input for the write_test function.
#'
#' @format ## `write_test_prompt`
#' A data frame with 2 rows and 2 columns representing the messages object in API calls.
#' @source Contributed by umatter
#'
"write_test_prompt"


#' Input: message content template for r_to_python()
#'
#' This message content serves as user input for the r_to_python() function.
#'
#' @format ## `r_to_python_prompt`
#' A data frame with 2 rows and 2 columns representing the messages object in API calls.
#' @source Contributed by umatter
#'
"r_to_python_prompt"


#' Input: message content template for python_to_r()
#'
#' This message content serves as user input for the python_to_r() function.
#'
#' @format ## `python_to_r_prompt`
#' A data frame with 2 rows and 2 columns representing the messages object in API calls.
#' @source Contributed by umatter
#'
"python_to_r_prompt"


#' Input: message content template for java_to_r()
#'
#' This message content serves as user input for the java_to_r() function.
#'
#' @format ## `java_to_r_prompt`
#' A data frame with 2 rows and 2 columns representing the messages object in API calls.
#' @source Contributed by umatter
#'
"java_to_r_prompt"

#' Input: message content template for nested_to_pipe()
#'
#' This message content serves as user input for the nested_to_pipe() function.
#'
#' @format ## `nested_to_pipe_prompt`
#' A data frame with 4 rows and 2 columns representing the messages object in API calls.
#' @source Contributed by umatter
#'
"nested_to_pipe_prompt"


#' Input: message content template for refactor()
#'
#' This message content serves as user input for the refactor() function.
#'
#' @format ## `nested_to_pipe_prompt`
#' A data frame with 2 rows and 2 columns representing the messages object in API calls.
#' @source Contributed by umatter
#'
"refactor_prompt"

Try the TheOpenAIR package in your browser

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

TheOpenAIR documentation built on April 27, 2023, 5:10 p.m.