| 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 CompletableFuture<Void> |
BedrockRuntimeAsyncClient.invokeModelWithResponseStream(Consumer<InvokeModelWithResponseStreamRequest.Builder> invokeModelWithResponseStreamRequest,
InvokeModelWithResponseStreamResponseHandler asyncResponseHandler)
Invoke the specified Bedrock model to run inference using the input provided.
|
| Modifier and Type | Method and Description |
|---|---|
InvokeModelWithResponseStreamRequest.Builder |
InvokeModelWithResponseStreamRequest.Builder.accept(String accept)
The desired MIME type of the inference body in the response.
|
InvokeModelWithResponseStreamRequest.Builder |
InvokeModelWithResponseStreamRequest.Builder.body(SdkBytes body)
Inference input in the format specified by the content-type.
|
static InvokeModelWithResponseStreamRequest.Builder |
InvokeModelWithResponseStreamRequest.builder() |
InvokeModelWithResponseStreamRequest.Builder |
InvokeModelWithResponseStreamRequest.Builder.contentType(String contentType)
The MIME type of the input data in the request.
|
InvokeModelWithResponseStreamRequest.Builder |
InvokeModelWithResponseStreamRequest.Builder.modelId(String modelId)
Id of the model to invoke using the streaming request.
|
InvokeModelWithResponseStreamRequest.Builder |
InvokeModelWithResponseStreamRequest.Builder.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
InvokeModelWithResponseStreamRequest.Builder |
InvokeModelWithResponseStreamRequest.Builder.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
InvokeModelWithResponseStreamRequest.Builder |
InvokeModelWithResponseStreamRequest.toBuilder() |
| Modifier and Type | Method and Description |
|---|---|
static Class<? extends InvokeModelWithResponseStreamRequest.Builder> |
InvokeModelWithResponseStreamRequest.serializableBuilderClass() |
Copyright © 2023. All rights reserved.