gpt
Usage
# S3 method for class 'character'
gpt(
source,
prompt = "",
progress = TRUE,
repair = FALSE,
iterations = 1,
model = "gpt-3.5-turbo",
temperature = NULL,
top_p = NULL,
presence_penalty = NULL,
frequency_penalty = NULL,
max_tokens = 4096,
max_completion_tokens = NULL,
logit_bias = NULL,
logprobs = FALSE,
top_logprobs = NULL,
seed = NULL,
stop = NULL,
user = NULL,
is_reasoning_model = NULL,
reasoning_effort = NULL,
openai_api_key = Sys.getenv("OPENAI_API_KEY"),
openai_organization = NULL,
call = rlang::caller_env(),
output = "output",
parentInfo = NULL
)