Interface ModelServiceAsync
-
- All Implemented Interfaces:
public interface ModelServiceAsync
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interface
ModelServiceAsync.WithRawResponse
A view of ModelServiceAsync that provides access to raw HTTP responses for each method.
-
Method Summary
Modifier and Type Method Description abstract ModelServiceAsync.WithRawResponse
withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method. 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<ModelListPageAsync>
list()
Lists the currently available models, and provides basic information about each one such as the owner and availability. CompletableFuture<ModelListPageAsync>
list(RequestOptions requestOptions)
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
-
withRawResponse
abstract ModelServiceAsync.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
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.
-
list
abstract CompletableFuture<ModelListPageAsync> list()
Lists the currently available models, and provides basic information about each one such as the owner and availability.
-
list
CompletableFuture<ModelListPageAsync> list(RequestOptions requestOptions)
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.
-
-
-
-