blob: d757118f2edd0602b0173d424aadd39f18a86691 [file] [log] [blame]
ben-aaron1883818e7c2022-09-08 17:49:01 +02001% Generated by roxygen2: do not edit by hand
2% Please edit documentation in R/test_request.R
ben-aaron1885bcd9112022-09-10 21:33:50 +02003\name{gpt3_test_request}
4\alias{gpt3_test_request}
ben-aaron1883818e7c2022-09-08 17:49:01 +02005\title{Make a test request to the GPT-3 API}
6\usage{
ben-aaron188b4ed9422022-09-22 15:22:23 +02007gpt3_test_request(verbose = T)
ben-aaron1883818e7c2022-09-08 17:49:01 +02008}
9\arguments{
ben-aaron188b4ed9422022-09-22 15:22:23 +020010\item{verbose}{(boolean) if TRUE prints the actual prompt and GPT-3 completion of the test request (default: TRUE).}
ben-aaron1883818e7c2022-09-08 17:49:01 +020011}
12\value{
13A message of success or failure of the connection.
14}
15\description{
ben-aaron1885bcd9112022-09-10 21:33:50 +020016\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.
ben-aaron1883818e7c2022-09-08 17:49:01 +020017}
18\examples{
ben-aaron1885bcd9112022-09-10 21:33:50 +020019gpt3_test_request()
ben-aaron1883818e7c2022-09-08 17:49:01 +020020}