Package com.openai.services.blocking
Interface ModelService
-
- All Implemented Interfaces:
public interface ModelService
-
-
Method Summary
Modifier and Type Method Description abstract Model
retrieve(ModelRetrieveParams params, RequestOptions requestOptions)
Retrieves a model instance, providing basic information about the model such as the owner and permissioning. abstract Model
retrieve(ModelRetrieveParams params)
Retrieves a model instance, providing basic information about the model such as the owner and permissioning. 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. abstract ModelListPage
list(ModelListParams params)
Lists the currently available models, and provides basic information about each one such as the owner and availability. abstract ModelDeleted
delete(ModelDeleteParams params, RequestOptions requestOptions)
Delete a fine-tuned model. abstract ModelDeleted
delete(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.
-
-
-
-