| Package | Description |
|---|---|
| software.amazon.awssdk.services.bedrockruntime |
Describes the API operations for running inference using Bedrock models.
|
| software.amazon.awssdk.services.bedrockruntime.model |
| Modifier and Type | Method and Description |
|---|---|
default InvokeModelResponse |
BedrockRuntimeClient.invokeModel(Consumer<InvokeModelRequest.Builder> invokeModelRequest)
Invokes the specified Bedrock model to run inference using the input provided in the request body.
|
default CompletableFuture<InvokeModelResponse> |
BedrockRuntimeAsyncClient.invokeModel(Consumer<InvokeModelRequest.Builder> invokeModelRequest)
Invokes the specified Bedrock model to run inference using the input provided in the request body.
|
| Modifier and Type | Method and Description |
|---|---|
InvokeModelRequest.Builder |
InvokeModelRequest.Builder.accept(String accept)
The desired MIME type of the inference body in the response.
|
InvokeModelRequest.Builder |
InvokeModelRequest.Builder.body(SdkBytes body)
Input data in the format specified in the content-type request header.
|
static InvokeModelRequest.Builder |
InvokeModelRequest.builder() |
InvokeModelRequest.Builder |
InvokeModelRequest.Builder.contentType(String contentType)
The MIME type of the input data in the request.
|
InvokeModelRequest.Builder |
InvokeModelRequest.Builder.modelId(String modelId)
Identifier of the model.
|
InvokeModelRequest.Builder |
InvokeModelRequest.Builder.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
InvokeModelRequest.Builder |
InvokeModelRequest.Builder.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
InvokeModelRequest.Builder |
InvokeModelRequest.toBuilder() |
| Modifier and Type | Method and Description |
|---|---|
static Class<? extends InvokeModelRequest.Builder> |
InvokeModelRequest.serializableBuilderClass() |
Copyright © 2023. All rights reserved.