Interface ModelServiceAsync
-
- All Implemented Interfaces:
public interface ModelServiceAsync
-
-
Method Summary
Modifier and Type Method Description abstract CompletableFuture<BetaModelInfo>retrieve(BetaModelRetrieveParams params, RequestOptions requestOptions)Get a specific model. abstract CompletableFuture<BetaModelInfo>retrieve(BetaModelRetrieveParams params)Get a specific model. abstract CompletableFuture<BetaModelListPageAsync>list(BetaModelListParams params, RequestOptions requestOptions)List available models. abstract CompletableFuture<BetaModelListPageAsync>list(BetaModelListParams params)List available models. -
-
Method Detail
-
retrieve
abstract CompletableFuture<BetaModelInfo> retrieve(BetaModelRetrieveParams params, RequestOptions requestOptions)
Get a specific model.
The Models API response can be used to determine information about a specific model or resolve a model alias to a model ID.
-
retrieve
abstract CompletableFuture<BetaModelInfo> retrieve(BetaModelRetrieveParams params)
Get a specific model.
The Models API response can be used to determine information about a specific model or resolve a model alias to a model ID.
-
list
abstract CompletableFuture<BetaModelListPageAsync> list(BetaModelListParams params, RequestOptions requestOptions)
List available models.
The Models API response can be used to determine which models are available for use in the API. More recently released models are listed first.
-
list
abstract CompletableFuture<BetaModelListPageAsync> list(BetaModelListParams params)
List available models.
The Models API response can be used to determine which models are available for use in the API. More recently released models are listed first.
-
-
-
-