ben-aaron188 | 718e3a6 | 2022-10-24 14:28:51 +0200 | [diff] [blame] | 1 | % Generated by roxygen2: do not edit by hand |
| 2 | % Please edit documentation in R/test_completion.R |
| 3 | \name{gpt3_test_completion} |
| 4 | \alias{gpt3_test_completion} |
| 5 | \title{Make a test request to the GPT-3 API} |
| 6 | \usage{ |
| 7 | gpt3_test_completion(verbose = T) |
| 8 | } |
| 9 | \arguments{ |
| 10 | \item{verbose}{(boolean) if TRUE prints the actual prompt and GPT-3 completion of the test request (default: TRUE).} |
| 11 | } |
| 12 | \value{ |
| 13 | A message of success or failure of the connection. |
| 14 | } |
| 15 | \description{ |
| 16 | \code{gpt3_test_completion()} sends a basic \href{https://beta.openai.com/docs/api-reference/completions}{completion request} to the Open AI GPT-3 API. |
| 17 | } |
| 18 | \examples{ |
| 19 | gpt3_test_completion() |
| 20 | } |