Class: Aws::BedrockRuntime::Types::InvokeModelWithBidirectionalStreamRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-bedrockruntime/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#bodyTypes::InvokeModelWithBidirectionalStreamInput

The prompt and inference parameters in the format specified in the ‘BidirectionalInputPayloadPart` in the header. You must provide the body in JSON format. To see the format and content of the request and response bodies for different models, refer to [Inference parameters]. For more information, see [Run inference] in the Bedrock User Guide.

[1]: docs.aws.amazon.com/bedrock/latest/userguide/model-parameters.html [2]: docs.aws.amazon.com/bedrock/latest/userguide/api-methods-run.html



3097
3098
3099
3100
3101
3102
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 3097

class InvokeModelWithBidirectionalStreamRequest < Struct.new(
  :model_id,
  :body)
  SENSITIVE = []
  include Aws::Structure
end

#model_idString

The model ID or ARN of the model ID to use. Currently, only ‘amazon.nova-sonic-v1:0` is supported.

Returns:

  • (String)


3097
3098
3099
3100
3101
3102
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 3097

class InvokeModelWithBidirectionalStreamRequest < Struct.new(
  :model_id,
  :body)
  SENSITIVE = []
  include Aws::Structure
end