Class: Aws::BedrockAgentCore::Types::HarnessGeminiModelConfig

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

Overview

Configuration for a Google Gemini model provider. Requires an API key stored in AgentCore Identity.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#additional_params ⇒ Hash, ...

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

Returns:

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


4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 4759

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

#api_key_arn ⇒ String

The ARN of your Gemini API key on AgentCore Identity.

Returns:

  • (String)


4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 4759

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

#max_tokens ⇒ Integer

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

Returns:

  • (Integer)


4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 4759

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

#model_id ⇒ String

The Gemini model ID.

Returns:

  • (String)


4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 4759

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

#temperature ⇒ Float

The temperature to set when calling the model.

Returns:

  • (Float)


4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 4759

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

#top_k ⇒ Integer

The topK set when calling the model.

Returns:

  • (Integer)


4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 4759

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

#top_p ⇒ Float

The topP set when calling the model.

Returns:

  • (Float)


4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 4759

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