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
- BedrockChatOptions - Class in org.springframework.ai.bedrock.converse
-
The options to be used when sending a chat request to the Bedrock API.
- BedrockChatOptions() - Constructor for class org.springframework.ai.bedrock.converse.BedrockChatOptions
- BedrockChatOptions.Builder - Class in org.springframework.ai.bedrock.converse
- 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, BedrockChatOptions, ObservationRegistry, ToolCallingManager) - Constructor for class org.springframework.ai.bedrock.converse.BedrockProxyChatModel
- BedrockProxyChatModel(BedrockRuntimeClient, BedrockRuntimeAsyncClient, BedrockChatOptions, 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.BedrockChatOptions.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.BedrockChatOptions
- builder() - Static method in class org.springframework.ai.bedrock.converse.BedrockProxyChatModel
- Builder() - Constructor for class org.springframework.ai.bedrock.converse.BedrockChatOptions.Builder
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() - Method in class org.springframework.ai.bedrock.converse.BedrockChatOptions
- 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(BedrockChatOptions) - 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.
- equals(Object) - Method in class org.springframework.ai.bedrock.converse.BedrockChatOptions
F
- frequencyPenalty(Double) - Method in class org.springframework.ai.bedrock.converse.BedrockChatOptions.Builder
- fromOptions(BedrockChatOptions) - Static method in class org.springframework.ai.bedrock.converse.BedrockChatOptions
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
- getFrequencyPenalty() - Method in class org.springframework.ai.bedrock.converse.BedrockChatOptions
- getImageFormat(MimeType) - Static method in class org.springframework.ai.bedrock.converse.api.BedrockMediaFormat
- getInternalToolExecutionEnabled() - Method in class org.springframework.ai.bedrock.converse.BedrockChatOptions
- getMaxTokens() - Method in class org.springframework.ai.bedrock.converse.BedrockChatOptions
- getModel() - Method in class org.springframework.ai.bedrock.converse.BedrockChatOptions
- getPresencePenalty() - Method in class org.springframework.ai.bedrock.converse.BedrockChatOptions
- getStopSequences() - Method in class org.springframework.ai.bedrock.converse.BedrockChatOptions
- getTemperature() - Method in class org.springframework.ai.bedrock.converse.BedrockChatOptions
- getToolCallbacks() - Method in class org.springframework.ai.bedrock.converse.BedrockChatOptions
- getToolContext() - Method in class org.springframework.ai.bedrock.converse.BedrockChatOptions
- getToolNames() - Method in class org.springframework.ai.bedrock.converse.BedrockChatOptions
- getTopK() - Method in class org.springframework.ai.bedrock.converse.BedrockChatOptions
- getTopP() - Method in class org.springframework.ai.bedrock.converse.BedrockChatOptions
- 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.
- hashCode() - Method in class org.springframework.ai.bedrock.converse.BedrockChatOptions
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. - internalToolExecutionEnabled(Boolean) - Method in class org.springframework.ai.bedrock.converse.BedrockChatOptions.Builder
- 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
- maxTokens(Integer) - Method in class org.springframework.ai.bedrock.converse.BedrockChatOptions.Builder
- 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. - model(String) - Method in class org.springframework.ai.bedrock.converse.BedrockChatOptions.Builder
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
P
- presencePenalty(Double) - Method in class org.springframework.ai.bedrock.converse.BedrockChatOptions.Builder
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
- setFrequencyPenalty(Double) - Method in class org.springframework.ai.bedrock.converse.BedrockChatOptions
- setInternalToolExecutionEnabled(Boolean) - Method in class org.springframework.ai.bedrock.converse.BedrockChatOptions
- setMaxTokens(Integer) - Method in class org.springframework.ai.bedrock.converse.BedrockChatOptions
- setModel(String) - Method in class org.springframework.ai.bedrock.converse.BedrockChatOptions
- setObservationConvention(ChatModelObservationConvention) - Method in class org.springframework.ai.bedrock.converse.BedrockProxyChatModel
-
Use the provided convention for reporting observation data
- setPresencePenalty(Double) - Method in class org.springframework.ai.bedrock.converse.BedrockChatOptions
- setStopSequences(List<String>) - Method in class org.springframework.ai.bedrock.converse.BedrockChatOptions
- setTemperature(Double) - Method in class org.springframework.ai.bedrock.converse.BedrockChatOptions
- setToolCallbacks(List<ToolCallback>) - Method in class org.springframework.ai.bedrock.converse.BedrockChatOptions
- setToolContext(Map<String, Object>) - Method in class org.springframework.ai.bedrock.converse.BedrockChatOptions
- setToolNames(Set<String>) - Method in class org.springframework.ai.bedrock.converse.BedrockChatOptions
- setTopK(Integer) - Method in class org.springframework.ai.bedrock.converse.BedrockChatOptions
- setTopP(Double) - Method in class org.springframework.ai.bedrock.converse.BedrockChatOptions
- stopReason() - Method in record class org.springframework.ai.bedrock.converse.api.ConverseApiUtils.MetadataAggregation
-
Returns the value of the
stopReasonrecord component. - stopSequences(List<String>) - Method in class org.springframework.ai.bedrock.converse.BedrockChatOptions.Builder
- stream(Prompt) - Method in class org.springframework.ai.bedrock.converse.BedrockProxyChatModel
-
Invoke the model and return the response stream.
T
- temperature(Double) - Method in class org.springframework.ai.bedrock.converse.BedrockChatOptions.Builder
- 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. - toolCallbacks(List<ToolCallback>) - Method in class org.springframework.ai.bedrock.converse.BedrockChatOptions.Builder
- toolCallbacks(ToolCallback...) - Method in class org.springframework.ai.bedrock.converse.BedrockChatOptions.Builder
- toolCallingManager(ToolCallingManager) - Method in class org.springframework.ai.bedrock.converse.BedrockProxyChatModel.Builder
- toolContext(Map<String, Object>) - Method in class org.springframework.ai.bedrock.converse.BedrockChatOptions.Builder
- toolExecutionEligibilityPredicate(ToolExecutionEligibilityPredicate) - Method in class org.springframework.ai.bedrock.converse.BedrockProxyChatModel.Builder
- toolNames(String...) - Method in class org.springframework.ai.bedrock.converse.BedrockChatOptions.Builder
- toolNames(Set<String>) - Method in class org.springframework.ai.bedrock.converse.BedrockChatOptions.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. - topK(Integer) - Method in class org.springframework.ai.bedrock.converse.BedrockChatOptions.Builder
- topP(Double) - Method in class org.springframework.ai.bedrock.converse.BedrockChatOptions.Builder
- 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