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