files_roxygen_tpl {oaii} | R Documentation |
API files: roxygen template
Description
API files: roxygen template
Usage
files_roxygen_tpl(api_key, file_id)
Arguments
api_key |
string, OpenAI API key (see https://platform.openai.com/account/api-keys) |
file_id |
string, id of the uploaded file |
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]