Learn R Programming

oaii (version 0.5.0)

fine_tuning_retrive_job_request: API fine-tuning: retrieve fine-tuning job request

Description

Get info about a fine-tuning job. To get more details, visit https://platform.openai.com/docs/guides/fine-tuning https://platform.openai.com/docs/api-reference/fine-tuning/retrieve

Usage

fine_tuning_retrive_job_request(fine_tuning_job_id, api_key = api_get_key())

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)

Arguments

fine_tuning_job_id

string, the ID of the fine-tuning job to get events for

api_key

string, OpenAI API key (see https://platform.openai.com/account/api-keys)

Examples

Run this code
if (FALSE) {
res_content <- fine_tuning_retrive_job_request("job-id")
if (!is_error(res_content)) {
  fine_tuning_events_df <- fine_tuning_fetch_events_list(res_content)
  print(fine_tuning_events_df)
}
}

Run the code above in your browser using DataLab