InvokeModelWithBidirectionalStreamInput
Payload content, the speech chunk, for the bidirectional input of the invocation step.
Inheritors
Types
Link copied to clipboard
data class Chunk(val value: BidirectionalInputPayloadPart) : InvokeModelWithBidirectionalStreamInput
The audio chunk that is used as input for the invocation step.
Link copied to clipboard
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.