retrieve_file_content: Retrieve File Content

View source: R/functions.R

retrieve_file_contentR Documentation

Retrieve File Content

Description

Returns the contents of the specified file.

Usage

retrieve_file_content(file_id, return_response = F)

Arguments

file_id

(string) The ID of the file to use for this request. Required

return_response

(boolean) Whether to return the API response or parse the contents of the response. Defaults to FALSE (parse the response).

See Also

Open AI Documentation


samterfa/openai documentation built on Oct. 9, 2024, 5:18 p.m.