list_models {openai} | R Documentation |
List models
Description
Lists the currently available models, and provides basic information about each one such as the owner and availability. See this page for details.
Usage
list_models(
openai_api_key = Sys.getenv("OPENAI_API_KEY"),
openai_organization = NULL
)
Arguments
openai_api_key |
required; defaults to |
openai_organization |
optional; defaults to |
Details
For arguments description please refer to the official documentation.
Value
Returns a list, an element of which is a data frame containing information about models.
See Also
Other model functions:
retrieve_model()
Examples
## Not run:
list_models()
## End(Not run)
[Package openai version 0.4.1 Index]