models_retrieve_request {oaii} | R Documentation |
API models: retrieve model request
Description
Retrieves a model instance, providing basic information about the model such as the owner and permissioning. To get more details, visit: https://platform.openai.com/docs/models https://platform.openai.com/docs/api-reference/models/list
Usage
models_retrieve_request(model, api_key = api_get_key())
Arguments
model |
string, the ID of the model to use for this request |
api_key |
string, OpenAI API key (see https://platform.openai.com/account/api-keys) |
Value
content of the httr response object or SimpleError (conditions) enhanced with two additional fields: 'status_code' (response$status_code) and 'message_long' (built on response content)
[Package oaii version 0.5.0 Index]