Class ConverseApiUtils.ToolUseAggregationEvent
java.lang.Object
org.springframework.ai.bedrock.converse.api.ConverseApiUtils.ToolUseAggregationEvent
- All Implemented Interfaces:
software.amazon.awssdk.core.SdkPojo
,software.amazon.awssdk.services.bedrockruntime.model.ConverseStreamOutput
- Enclosing class:
- ConverseApiUtils
public static class ConverseApiUtils.ToolUseAggregationEvent
extends Object
implements software.amazon.awssdk.services.bedrockruntime.model.ConverseStreamOutput
Special event used to aggregate multiple tool use events into a single event with
list of aggregated ContentBlockToolUse.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final record
Nested classes/interfaces inherited from interface software.amazon.awssdk.services.bedrockruntime.model.ConverseStreamOutput
software.amazon.awssdk.services.bedrockruntime.model.ConverseStreamOutput.EventType
-
Field Summary
Fields inherited from interface software.amazon.awssdk.services.bedrockruntime.model.ConverseStreamOutput
UNKNOWN
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface software.amazon.awssdk.services.bedrockruntime.model.ConverseStreamOutput
sdkEventType
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField
-
Constructor Details
-
ToolUseAggregationEvent
public ToolUseAggregationEvent()
-
-
Method Details
-
toolUseEntries
-
isEmpty
public boolean isEmpty() -
toString
-
sdkFields
- Specified by:
sdkFields
in interfacesoftware.amazon.awssdk.core.SdkPojo
-
accept
public void accept(software.amazon.awssdk.services.bedrockruntime.model.ConverseStreamResponseHandler.Visitor visitor) - Specified by:
accept
in interfacesoftware.amazon.awssdk.services.bedrockruntime.model.ConverseStreamOutput
-