blob: 738e32f3bbd5d688528dd24a56bf1c3123c3760b [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-aaron1885bcd9112022-09-10 21:33:50 +02007gpt3_test_request(verbose = F)
ben-aaron1883818e7c2022-09-08 17:49:01 +02008}
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{
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}