Skip to content

Commit

Permalink
Remove redundant options of upload_file() arguments (related to dep…
Browse files Browse the repository at this point in the history
…ricated endpoints)
  • Loading branch information
irudnyts committed Mar 6, 2023
1 parent 945748b commit 3eb6898
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions R/upload_file.R
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,8 @@
#' documentation](https://beta.openai.com/docs/api-reference/files/upload).
#'
#' @param file required; a length one character vector.
#' @param purpose required; defaults to `"search"`; a length one character
#' vector, one among `"search"`, `"answers"`, `"classifications"`, and
#' `"fine-tune"`.
#' @param purpose required; defaults to `"fine-tune"`; a length one character
#' vector equals to`"fine-tune"`.
#' @param openai_api_key required; defaults to `Sys.getenv("OPENAI_API_KEY")`
#' (i.e., the value is retrieved from the `.Renviron` file); a length one
#' character vector. Specifies OpenAI API key.
Expand Down

0 comments on commit 3eb6898

Please sign in to comment.