Package com.openai.services.async
Class ModelServiceAsyncImpl
-
- All Implemented Interfaces:
-
com.openai.services.async.ModelServiceAsync
public final class ModelServiceAsyncImpl implements ModelServiceAsync
-
-
Method Summary
Modifier and Type Method Description CompletableFuture<Model>
retrieve(ModelRetrieveParams params, RequestOptions requestOptions)
Retrieves a model instance, providing basic information about the model such as the owner and permissioning. 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. CompletableFuture<ModelDeleted>
delete(ModelDeleteParams params, RequestOptions requestOptions)
Delete a fine-tuned model. -
-
Method Detail
-
retrieve
CompletableFuture<Model> retrieve(ModelRetrieveParams params, RequestOptions requestOptions)
Retrieves a model instance, providing basic information about the model such as the owner and permissioning.
-
list
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.
-
delete
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.
-
-
-
-