ben-aaron188 | 3818e7c | 2022-09-08 17:49:01 +0200 | [diff] [blame^] | 1 | % Generated by roxygen2: do not edit by hand |
| 2 | % Please edit documentation in R/test_request.R |
| 3 | \name{gpt3.test_request} |
| 4 | \alias{gpt3.test_request} |
| 5 | \title{Make a test request to the GPT-3 API} |
| 6 | \usage{ |
| 7 | gpt3.test_request(verbose = F) |
| 8 | } |
| 9 | \arguments{ |
| 10 | \item{verbose}{(boolean) if TRUE prints the actual prompt and GPT-3 completion of the test request (default: FALSE).} |
| 11 | } |
| 12 | \value{ |
| 13 | A message of success or failure of the connection. |
| 14 | } |
| 15 | \description{ |
| 16 | \code{gpt3.test_request()} 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_request() |
| 20 | } |