Package com.anthropic.services.async
Class ModelServiceAsyncImpl
-
- All Implemented Interfaces:
-
com.anthropic.services.async.ModelServiceAsync
public final class ModelServiceAsyncImpl implements ModelServiceAsync
-
-
Method Summary
Modifier and Type Method Description CompletableFuture<ModelInfo>retrieve(ModelRetrieveParams params, RequestOptions requestOptions)Get a specific model. CompletableFuture<ModelListPageAsync>list(ModelListParams params, RequestOptions requestOptions)List available models. -
-
Method Detail
-
retrieve
CompletableFuture<ModelInfo> retrieve(ModelRetrieveParams 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.
-
list
CompletableFuture<ModelListPageAsync> list(ModelListParams 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.
-
-
-
-