Package com.openai.services.blocking
Class ModelServiceImpl
-
- All Implemented Interfaces:
-
com.openai.services.blocking.ModelService
public final class ModelServiceImpl implements ModelService
-
-
Method Summary
Modifier and Type Method Description 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
-
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.
-
-
-
-