Package com.openai.services.blocking
Class ModelServiceImpl
-
- All Implemented Interfaces:
-
com.openai.services.blocking.ModelService
public final class ModelServiceImpl implements ModelService
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
ModelServiceImpl.WithRawResponseImpl
-
Method Summary
Modifier and Type Method Description ModelService.WithRawResponse
withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method. Model
retrieve(ModelRetrieveParams params, RequestOptions requestOptions)
Retrieves a model instance, providing basic information about the model such as the owner and permissioning. ModelListPage
list(ModelListParams params, RequestOptions requestOptions)
Lists the currently available models, and provides basic information about each one such as the owner and availability. ModelDeleted
delete(ModelDeleteParams params, RequestOptions requestOptions)
Delete a fine-tuned model. -
-
Method Detail
-
withRawResponse
ModelService.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
retrieve
Model retrieve(ModelRetrieveParams params, RequestOptions requestOptions)
Retrieves a model instance, providing basic information about the model such as the owner and permissioning.
-
list
ModelListPage list(ModelListParams params, RequestOptions requestOptions)
Lists the currently available models, and provides basic information about each one such as the owner and availability.
-
delete
ModelDeleted delete(ModelDeleteParams params, RequestOptions requestOptions)
Delete a fine-tuned model. You must have the Owner role in your organization to delete a model.
-
-
-
-