Index
All Classes and Interfaces|All Packages
A
- accept(ConverseStreamResponseHandler.Visitor) - Method in class org.springframework.ai.bedrock.converse.api.ConverseApiUtils.ToolUseAggregationEvent
- additionalModelResponseFields() - Method in record class org.springframework.ai.bedrock.converse.api.ConverseApiUtils.MetadataAggregation
-
Returns the value of the
additionalModelResponseFieldsrecord component. - Aggregation() - Constructor for record class org.springframework.ai.bedrock.converse.api.ConverseApiUtils.Aggregation
- Aggregation(ConverseApiUtils.MetadataAggregation, ChatResponse) - Constructor for record class org.springframework.ai.bedrock.converse.api.ConverseApiUtils.Aggregation
-
Creates an instance of a
Aggregationrecord class.
B
- BedrockMediaFormat - Class in org.springframework.ai.bedrock.converse.api
-
The BedrockMediaFormat class provides mappings between MIME types and their corresponding Bedrock media formats for documents, images, and videos.
- BedrockMediaFormat() - Constructor for class org.springframework.ai.bedrock.converse.api.BedrockMediaFormat
- BedrockProxyChatModel - Class in org.springframework.ai.bedrock.converse
-
A
ChatModelimplementation that uses the Amazon Bedrock Converse API to interact with the Supported models. - BedrockProxyChatModel(BedrockRuntimeClient, BedrockRuntimeAsyncClient, ToolCallingChatOptions, ObservationRegistry, ToolCallingManager) - Constructor for class org.springframework.ai.bedrock.converse.BedrockProxyChatModel
- BedrockProxyChatModel(BedrockRuntimeClient, BedrockRuntimeAsyncClient, ToolCallingChatOptions, ObservationRegistry, ToolCallingManager, ToolExecutionEligibilityPredicate) - Constructor for class org.springframework.ai.bedrock.converse.BedrockProxyChatModel
- BedrockProxyChatModel.Builder - Class in org.springframework.ai.bedrock.converse
- bedrockRuntimeAsyncClient(BedrockRuntimeAsyncClient) - Method in class org.springframework.ai.bedrock.converse.BedrockProxyChatModel.Builder
- bedrockRuntimeClient(BedrockRuntimeClient) - Method in class org.springframework.ai.bedrock.converse.BedrockProxyChatModel.Builder
- build() - Method in class org.springframework.ai.bedrock.converse.api.ConverseApiUtils.MetadataAggregation.Builder
- build() - Method in class org.springframework.ai.bedrock.converse.BedrockProxyChatModel.Builder
- builder() - Static method in record class org.springframework.ai.bedrock.converse.api.ConverseApiUtils.MetadataAggregation
- builder() - Static method in class org.springframework.ai.bedrock.converse.BedrockProxyChatModel
C
- call(Prompt) - Method in class org.springframework.ai.bedrock.converse.BedrockProxyChatModel
-
Invoke the model and return the response.
- chatResponse() - Method in record class org.springframework.ai.bedrock.converse.api.ConverseApiUtils.Aggregation
-
Returns the value of the
chatResponserecord component. - ConverseApiUtils - Class in org.springframework.ai.bedrock.converse.api
-
Amazon Bedrock Converse API utils.
- ConverseApiUtils.Aggregation - Record Class in org.springframework.ai.bedrock.converse.api
- ConverseApiUtils.MetadataAggregation - Record Class in org.springframework.ai.bedrock.converse.api
- ConverseApiUtils.MetadataAggregation.Builder - Class in org.springframework.ai.bedrock.converse.api
- ConverseApiUtils.ToolUseAggregationEvent - Class in org.springframework.ai.bedrock.converse.api
-
Special event used to aggregate multiple tool use events into a single event with list of aggregated ContentBlockToolUse.
- ConverseApiUtils.ToolUseAggregationEvent.ToolUseEntry - Record Class in org.springframework.ai.bedrock.converse.api
- converseStream(ConverseStreamRequest) - Method in class org.springframework.ai.bedrock.converse.BedrockProxyChatModel
-
Invoke the model and return the response stream.
- convertObjectToDocument(Object) - Static method in class org.springframework.ai.bedrock.converse.api.ConverseApiUtils
- copy(ConverseApiUtils.MetadataAggregation) - Method in class org.springframework.ai.bedrock.converse.api.ConverseApiUtils.MetadataAggregation.Builder
- credentialsProvider(AwsCredentialsProvider) - Method in class org.springframework.ai.bedrock.converse.BedrockProxyChatModel.Builder
- customObservationConvention(ChatModelObservationConvention) - Method in class org.springframework.ai.bedrock.converse.BedrockProxyChatModel.Builder
D
- DEFAULT_EMIT_FAILURE_HANDLER - Static variable in class org.springframework.ai.bedrock.converse.BedrockProxyChatModel
- defaultOptions(ToolCallingChatOptions) - Method in class org.springframework.ai.bedrock.converse.BedrockProxyChatModel.Builder
- DOCUMENT_MAP - Static variable in class org.springframework.ai.bedrock.converse.api.BedrockMediaFormat
E
- EMPTY_CHAT_RESPONSE - Static variable in class org.springframework.ai.bedrock.converse.api.ConverseApiUtils
- equals(Object) - Method in record class org.springframework.ai.bedrock.converse.api.ConverseApiUtils.Aggregation
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.springframework.ai.bedrock.converse.api.ConverseApiUtils.MetadataAggregation
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.springframework.ai.bedrock.converse.api.ConverseApiUtils.ToolUseAggregationEvent.ToolUseEntry
-
Indicates whether some other object is "equal to" this one.
G
- getChatOptionsAdditionalModelRequestFields(ChatOptions, ModelOptions) - Static method in class org.springframework.ai.bedrock.converse.api.ConverseApiUtils
- getDefaultOptions() - Method in class org.springframework.ai.bedrock.converse.BedrockProxyChatModel
- getDocumentFormat(MimeType) - Static method in class org.springframework.ai.bedrock.converse.api.BedrockMediaFormat
- getFormatAsString(MimeType) - Static method in class org.springframework.ai.bedrock.converse.api.BedrockMediaFormat
- getImageFormat(MimeType) - Static method in class org.springframework.ai.bedrock.converse.api.BedrockMediaFormat
- getVideoFormat(MimeType) - Static method in class org.springframework.ai.bedrock.converse.api.BedrockMediaFormat
H
- hashCode() - Method in record class org.springframework.ai.bedrock.converse.api.ConverseApiUtils.Aggregation
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.springframework.ai.bedrock.converse.api.ConverseApiUtils.MetadataAggregation
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.springframework.ai.bedrock.converse.api.ConverseApiUtils.ToolUseAggregationEvent.ToolUseEntry
-
Returns a hash code value for this object.
I
- id() - Method in record class org.springframework.ai.bedrock.converse.api.ConverseApiUtils.ToolUseAggregationEvent.ToolUseEntry
-
Returns the value of the
idrecord component. - IMAGE_MAP - Static variable in class org.springframework.ai.bedrock.converse.api.BedrockMediaFormat
- index() - Method in record class org.springframework.ai.bedrock.converse.api.ConverseApiUtils.ToolUseAggregationEvent.ToolUseEntry
-
Returns the value of the
indexrecord component. - input() - Method in record class org.springframework.ai.bedrock.converse.api.ConverseApiUtils.ToolUseAggregationEvent.ToolUseEntry
-
Returns the value of the
inputrecord component. - isEmpty() - Method in class org.springframework.ai.bedrock.converse.api.ConverseApiUtils.ToolUseAggregationEvent
- isSupportedDocumentFormat(MimeType) - Static method in class org.springframework.ai.bedrock.converse.api.BedrockMediaFormat
- isSupportedImageFormat(MimeType) - Static method in class org.springframework.ai.bedrock.converse.api.BedrockMediaFormat
- isSupportedVideoFormat(MimeType) - Static method in class org.springframework.ai.bedrock.converse.api.BedrockMediaFormat
- isToolUseFinish(ConverseStreamOutput) - Static method in class org.springframework.ai.bedrock.converse.api.ConverseApiUtils
- isToolUseStart(ConverseStreamOutput) - Static method in class org.springframework.ai.bedrock.converse.api.ConverseApiUtils
- isValidURLBasic(String) - Static method in class org.springframework.ai.bedrock.converse.api.URLValidator
-
Quick validation using regex pattern Good for basic checks but may not catch all edge cases
- isValidURLStrict(String) - Static method in class org.springframework.ai.bedrock.converse.api.URLValidator
-
Thorough validation using URL class More comprehensive but might be slower Validates protocol, host, port, and basic structure
M
- mergeToolUseEvents(ConverseStreamOutput, ConverseStreamOutput) - Static method in class org.springframework.ai.bedrock.converse.api.ConverseApiUtils
- metadataAggregation() - Method in record class org.springframework.ai.bedrock.converse.api.ConverseApiUtils.Aggregation
-
Returns the value of the
metadataAggregationrecord component. - MetadataAggregation(String, String, Document, TokenUsage, ConverseStreamMetrics, ConverseStreamTrace) - Constructor for record class org.springframework.ai.bedrock.converse.api.ConverseApiUtils.MetadataAggregation
-
Creates an instance of a
MetadataAggregationrecord class. - metrics() - Method in record class org.springframework.ai.bedrock.converse.api.ConverseApiUtils.MetadataAggregation
-
Returns the value of the
metricsrecord component.
N
- name() - Method in record class org.springframework.ai.bedrock.converse.api.ConverseApiUtils.ToolUseAggregationEvent.ToolUseEntry
-
Returns the value of the
namerecord component. - normalizeURL(String) - Static method in class org.springframework.ai.bedrock.converse.api.URLValidator
-
Attempts to fix common URL issues Adds protocol if missing, removes extra spaces
O
- observationRegistry(ObservationRegistry) - Method in class org.springframework.ai.bedrock.converse.BedrockProxyChatModel.Builder
- org.springframework.ai.bedrock.converse - package org.springframework.ai.bedrock.converse
- org.springframework.ai.bedrock.converse.api - package org.springframework.ai.bedrock.converse.api
R
- region(Region) - Method in class org.springframework.ai.bedrock.converse.BedrockProxyChatModel.Builder
- role() - Method in record class org.springframework.ai.bedrock.converse.api.ConverseApiUtils.MetadataAggregation
-
Returns the value of the
rolerecord component.
S
- sdkFields() - Method in class org.springframework.ai.bedrock.converse.api.ConverseApiUtils.ToolUseAggregationEvent
- setObservationConvention(ChatModelObservationConvention) - Method in class org.springframework.ai.bedrock.converse.BedrockProxyChatModel
-
Use the provided convention for reporting observation data
- stopReason() - Method in record class org.springframework.ai.bedrock.converse.api.ConverseApiUtils.MetadataAggregation
-
Returns the value of the
stopReasonrecord component. - stream(Prompt) - Method in class org.springframework.ai.bedrock.converse.BedrockProxyChatModel
-
Invoke the model and return the response stream.
T
- timeout(Duration) - Method in class org.springframework.ai.bedrock.converse.BedrockProxyChatModel.Builder
- toChatResponse(Flux<ConverseStreamOutput>, ChatResponse) - Static method in class org.springframework.ai.bedrock.converse.api.ConverseApiUtils
- tokenUsage() - Method in record class org.springframework.ai.bedrock.converse.api.ConverseApiUtils.MetadataAggregation
-
Returns the value of the
tokenUsagerecord component. - toolCallingManager(ToolCallingManager) - Method in class org.springframework.ai.bedrock.converse.BedrockProxyChatModel.Builder
- toolExecutionEligibilityPredicate(ToolExecutionEligibilityPredicate) - Method in class org.springframework.ai.bedrock.converse.BedrockProxyChatModel.Builder
- ToolUseAggregationEvent() - Constructor for class org.springframework.ai.bedrock.converse.api.ConverseApiUtils.ToolUseAggregationEvent
- toolUseEntries() - Method in class org.springframework.ai.bedrock.converse.api.ConverseApiUtils.ToolUseAggregationEvent
- ToolUseEntry(Integer, String, String, String, DefaultUsage) - Constructor for record class org.springframework.ai.bedrock.converse.api.ConverseApiUtils.ToolUseAggregationEvent.ToolUseEntry
-
Creates an instance of a
ToolUseEntryrecord class. - toString() - Method in record class org.springframework.ai.bedrock.converse.api.ConverseApiUtils.Aggregation
-
Returns a string representation of this record class.
- toString() - Method in record class org.springframework.ai.bedrock.converse.api.ConverseApiUtils.MetadataAggregation
-
Returns a string representation of this record class.
- toString() - Method in record class org.springframework.ai.bedrock.converse.api.ConverseApiUtils.ToolUseAggregationEvent.ToolUseEntry
-
Returns a string representation of this record class.
- toString() - Method in class org.springframework.ai.bedrock.converse.api.ConverseApiUtils.ToolUseAggregationEvent
- trace() - Method in record class org.springframework.ai.bedrock.converse.api.ConverseApiUtils.MetadataAggregation
-
Returns the value of the
tracerecord component.
U
- URLValidator - Class in org.springframework.ai.bedrock.converse.api
-
Utility class for detecting and normalizing URLs.
- usage() - Method in record class org.springframework.ai.bedrock.converse.api.ConverseApiUtils.ToolUseAggregationEvent.ToolUseEntry
-
Returns the value of the
usagerecord component.
V
- VIDEO_MAP - Static variable in class org.springframework.ai.bedrock.converse.api.BedrockMediaFormat
W
- withAdditionalModelResponseFields(Document) - Method in class org.springframework.ai.bedrock.converse.api.ConverseApiUtils.MetadataAggregation.Builder
- withMetrics(ConverseStreamMetrics) - Method in class org.springframework.ai.bedrock.converse.api.ConverseApiUtils.MetadataAggregation.Builder
- withRole(String) - Method in class org.springframework.ai.bedrock.converse.api.ConverseApiUtils.MetadataAggregation.Builder
- withStopReason(String) - Method in class org.springframework.ai.bedrock.converse.api.ConverseApiUtils.MetadataAggregation.Builder
- withTokenUsage(TokenUsage) - Method in class org.springframework.ai.bedrock.converse.api.ConverseApiUtils.MetadataAggregation.Builder
- withTrace(ConverseStreamTrace) - Method in class org.springframework.ai.bedrock.converse.api.ConverseApiUtils.MetadataAggregation.Builder
All Classes and Interfaces|All Packages