Class: Aws::BedrockAgentCoreControl::Types::HarnessBedrockModelConfig

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb

Overview

Configuration for an Amazon Bedrock model provider.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#additional_params ⇒ Hash, ...

Provider-specific parameters passed through to the model provider unchanged.

Returns:

  • (Hash, Array, String, Numeric, Boolean)


11843
11844
11845
11846
11847
11848
11849
11850
11851
11852
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 11843

class HarnessBedrockModelConfig < Struct.new(
  :model_id,
  :max_tokens,
  :temperature,
  :top_p,
  :api_format,
  :additional_params)
  SENSITIVE = []
  include Aws::Structure
end

#api_format ⇒ String

The API format to use when calling the Bedrock provider.

Returns:

  • (String)


11843
11844
11845
11846
11847
11848
11849
11850
11851
11852
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 11843

class HarnessBedrockModelConfig < Struct.new(
  :model_id,
  :max_tokens,
  :temperature,
  :top_p,
  :api_format,
  :additional_params)
  SENSITIVE = []
  include Aws::Structure
end

#max_tokens ⇒ Integer

The maximum number of tokens to allow in the generated response per model call.

Returns:

  • (Integer)


11843
11844
11845
11846
11847
11848
11849
11850
11851
11852
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 11843

class HarnessBedrockModelConfig < Struct.new(
  :model_id,
  :max_tokens,
  :temperature,
  :top_p,
  :api_format,
  :additional_params)
  SENSITIVE = []
  include Aws::Structure
end

#model_id ⇒ String

The Bedrock model ID.

Returns:

  • (String)


11843
11844
11845
11846
11847
11848
11849
11850
11851
11852
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 11843

class HarnessBedrockModelConfig < Struct.new(
  :model_id,
  :max_tokens,
  :temperature,
  :top_p,
  :api_format,
  :additional_params)
  SENSITIVE = []
  include Aws::Structure
end

#temperature ⇒ Float

The temperature to set when calling the model.

Returns:

  • (Float)


11843
11844
11845
11846
11847
11848
11849
11850
11851
11852
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 11843

class HarnessBedrockModelConfig < Struct.new(
  :model_id,
  :max_tokens,
  :temperature,
  :top_p,
  :api_format,
  :additional_params)
  SENSITIVE = []
  include Aws::Structure
end

#top_p ⇒ Float

The topP set when calling the model.

Returns:

  • (Float)


11843
11844
11845
11846
11847
11848
11849
11850
11851
11852
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 11843

class HarnessBedrockModelConfig < Struct.new(
  :model_id,
  :max_tokens,
  :temperature,
  :top_p,
  :api_format,
  :additional_params)
  SENSITIVE = []
  include Aws::Structure
end