Chunk
data class Chunk(val value: BidirectionalInputPayloadPart) : InvokeModelWithBidirectionalStreamInput
The audio chunk that is used as input for the invocation step.
Inherited functions
Link copied to clipboard
Casts this InvokeModelWithBidirectionalStreamInput as a Chunk and retrieves its aws.sdk.kotlin.services.bedrockruntime.model.BidirectionalInputPayloadPart value. Throws an exception if the InvokeModelWithBidirectionalStreamInput is not a Chunk.
Link copied to clipboard
Casts this InvokeModelWithBidirectionalStreamInput as a Chunk and retrieves its aws.sdk.kotlin.services.bedrockruntime.model.BidirectionalInputPayloadPart value. Returns null if the InvokeModelWithBidirectionalStreamInput is not a Chunk.