View source: R/retrieve_engine.R
retrieve_engine | R Documentation |
Note: This endpoint is deprecated and soon will be removed. Please use
its replacement,
Models, instead. The
replacement function in this package is retrieve_model()
.
Provides information about a specified engine. See this page for details.
retrieve_engine(
engine_id,
openai_api_key = Sys.getenv("OPENAI_API_KEY"),
openai_organization = NULL
)
engine_id |
required; a length one character vector. |
openai_api_key |
required; defaults to |
openai_organization |
optional; defaults to |
For arguments description please refer to the official documentation.
Returns a list, elements of which contain information about the engine.
Other engine functions:
list_engines()
## Not run:
retrieve_engine("text-davinci-002")
# ->
retrieve_model("text-davinci-002")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.