Package com.openai.services.blocking
Interface ModelService
-
- All Implemented Interfaces:
public interface ModelService
-
-
Method Summary
Modifier and Type Method Description abstract Modelretrieve(ModelRetrieveParams params, RequestOptions requestOptions)Retrieves a model instance, providing basic information about the model such as the owner and permissioning. abstract Modelretrieve(ModelRetrieveParams params)Retrieves a model instance, providing basic information about the model such as the owner and permissioning. abstract ModelListPagelist(ModelListParams params, RequestOptions requestOptions)Lists the currently available models, and provides basic information about each one such as the owner and availability. abstract ModelListPagelist(ModelListParams params)Lists the currently available models, and provides basic information about each one such as the owner and availability. abstract ModelDeleteddelete(ModelDeleteParams params, RequestOptions requestOptions)Delete a fine-tuned model. abstract ModelDeleteddelete(ModelDeleteParams params)Delete a fine-tuned model. -
-
Method Detail
-
retrieve
abstract Model retrieve(ModelRetrieveParams params, RequestOptions requestOptions)
Retrieves a model instance, providing basic information about the model such as the owner and permissioning.
-
retrieve
abstract Model retrieve(ModelRetrieveParams params)
Retrieves a model instance, providing basic information about the model such as the owner and permissioning.
-
list
abstract ModelListPage list(ModelListParams params, RequestOptions requestOptions)
Lists the currently available models, and provides basic information about each one such as the owner and availability.
-
list
abstract ModelListPage list(ModelListParams params)
Lists the currently available models, and provides basic information about each one such as the owner and availability.
-
delete
abstract ModelDeleted delete(ModelDeleteParams params, RequestOptions requestOptions)
Delete a fine-tuned model. You must have the Owner role in your organization to delete a model.
-
delete
abstract ModelDeleted delete(ModelDeleteParams params)
Delete a fine-tuned model. You must have the Owner role in your organization to delete a model.
-
-
-
-