View source: R/retrieve_model.R
retrieve_model | R Documentation |
Retrieves a model instance, providing basic information about the model such as the owner and permissioning. See this page for details.
retrieve_model(
model,
openai_api_key = Sys.getenv("OPENAI_API_KEY"),
openai_organization = NULL
)
model |
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 model.
Other model functions:
list_models()
## Not run:
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.