fine_tuning_jobs_list_request {oaii}R Documentation

API fine-tuning: list jobs request

Description

List your organization's fine-tuning jobs. To get more details, visit https://platform.openai.com/docs/guides/fine-tuning https://platform.openai.com/docs/api-reference/fine-tuning/list

Usage

fine_tuning_jobs_list_request(
  after = NULL,
  limit = NULL,
  api_key = api_get_key()
)

Arguments

after

NULL/string, identifier for the last job from the previous pagination request

limit

NULL/integer, number of fine-tuning jobs to retrieve (default 20)

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)

Examples

## Not run: 
res_content <- fine_tuning_jobs_list_request()
if (!is_error(res_content)) {
  fine_tuning_jobs_df <- fine_tuning_fetch_jobs_list(res_content)
  print(fine_tuning_jobs_df)
}

## End(Not run)


[Package oaii version 0.5.0 Index]