Interface JobService.WithRawResponse
-
- All Implemented Interfaces:
public interface JobService.WithRawResponse
A view of JobService that provides access to raw HTTP responses for each method.
-
-
Method Summary
Modifier and Type Method Description abstract CheckpointService.WithRawResponse
checkpoints()
HttpResponseFor<FineTuningJob>
create(JobCreateParams params)
Returns a raw HTTP response for post /fine_tuning/jobs
, but is otherwise the same as JobService.create.abstract HttpResponseFor<FineTuningJob>
create(JobCreateParams params, RequestOptions requestOptions)
HttpResponseFor<FineTuningJob>
retrieve(JobRetrieveParams params)
Returns a raw HTTP response for get /fine_tuning/jobs/{fine_tuning_job_id}
, but is otherwise the same as JobService.retrieve.abstract HttpResponseFor<FineTuningJob>
retrieve(JobRetrieveParams params, RequestOptions requestOptions)
HttpResponseFor<JobListPage>
list()
Returns a raw HTTP response for get /fine_tuning/jobs
, but is otherwise the same as JobService.list.abstract HttpResponseFor<JobListPage>
list(JobListParams params, RequestOptions requestOptions)
HttpResponseFor<JobListPage>
list(JobListParams params)
HttpResponseFor<JobListPage>
list(RequestOptions requestOptions)
HttpResponseFor<FineTuningJob>
cancel(JobCancelParams params)
Returns a raw HTTP response for post /fine_tuning/jobs/{fine_tuning_job_id}/cancel
, but is otherwise the same as JobService.cancel.abstract HttpResponseFor<FineTuningJob>
cancel(JobCancelParams params, RequestOptions requestOptions)
HttpResponseFor<JobListEventsPage>
listEvents(JobListEventsParams params)
Returns a raw HTTP response for get /fine_tuning/jobs/{fine_tuning_job_id}/events
, but is otherwise the same as JobService.listEvents.abstract HttpResponseFor<JobListEventsPage>
listEvents(JobListEventsParams params, RequestOptions requestOptions)
-
-
Method Detail
-
checkpoints
abstract CheckpointService.WithRawResponse checkpoints()
-
create
@MustBeClosed() HttpResponseFor<FineTuningJob> create(JobCreateParams params)
Returns a raw HTTP response for
post /fine_tuning/jobs
, but is otherwise the same as JobService.create.
-
create
@MustBeClosed() abstract HttpResponseFor<FineTuningJob> create(JobCreateParams params, RequestOptions requestOptions)
-
retrieve
@MustBeClosed() HttpResponseFor<FineTuningJob> retrieve(JobRetrieveParams params)
Returns a raw HTTP response for
get /fine_tuning/jobs/{fine_tuning_job_id}
, but is otherwise the same as JobService.retrieve.
-
retrieve
@MustBeClosed() abstract HttpResponseFor<FineTuningJob> retrieve(JobRetrieveParams params, RequestOptions requestOptions)
-
list
@MustBeClosed() HttpResponseFor<JobListPage> list()
Returns a raw HTTP response for
get /fine_tuning/jobs
, but is otherwise the same as JobService.list.
-
list
@MustBeClosed() abstract HttpResponseFor<JobListPage> list(JobListParams params, RequestOptions requestOptions)
-
list
@MustBeClosed() HttpResponseFor<JobListPage> list(JobListParams params)
-
list
@MustBeClosed() HttpResponseFor<JobListPage> list(RequestOptions requestOptions)
-
cancel
@MustBeClosed() HttpResponseFor<FineTuningJob> cancel(JobCancelParams params)
Returns a raw HTTP response for
post /fine_tuning/jobs/{fine_tuning_job_id}/cancel
, but is otherwise the same as JobService.cancel.
-
cancel
@MustBeClosed() abstract HttpResponseFor<FineTuningJob> cancel(JobCancelParams params, RequestOptions requestOptions)
-
listEvents
@MustBeClosed() HttpResponseFor<JobListEventsPage> listEvents(JobListEventsParams params)
Returns a raw HTTP response for
get /fine_tuning/jobs/{fine_tuning_job_id}/events
, but is otherwise the same as JobService.listEvents.
-
listEvents
@MustBeClosed() abstract HttpResponseFor<JobListEventsPage> listEvents(JobListEventsParams params, RequestOptions requestOptions)
-
-
-
-