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