files_roxygen_tpl: API files: roxygen template

View source: R/api_files.R

files_roxygen_tplR 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)


oaii documentation built on May 29, 2024, 5:25 a.m.

Related to files_roxygen_tpl in oaii...