Class: Aws::BedrockAgentCoreControl::Types::HarnessGeminiModelConfig
- Inherits:
-
Struct
- Object
- Struct
- Aws::BedrockAgentCoreControl::Types::HarnessGeminiModelConfig
- Defined in:
- gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/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
-
#additional_params ⇒ Hash, ...
Provider-specific parameters passed through to the Gemini model provider unchanged.
-
#api_key_arn ⇒ String
The ARN of your Gemini API key on AgentCore Identity.
-
#max_tokens ⇒ Integer
The maximum number of tokens to allow in the generated response per model call.
-
#model_id ⇒ String
The Gemini model ID.
-
#temperature ⇒ Float
The temperature to set when calling the model.
-
#top_k ⇒ Integer
The topK set when calling the model.
-
#top_p ⇒ Float
The topP set when calling the model.
Instance Attribute Details
#additional_params ⇒ Hash, ...
Provider-specific parameters passed through to the Gemini model provider unchanged.
12105 12106 12107 12108 12109 12110 12111 12112 12113 12114 12115 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 12105 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.
12105 12106 12107 12108 12109 12110 12111 12112 12113 12114 12115 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 12105 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 model call.
12105 12106 12107 12108 12109 12110 12111 12112 12113 12114 12115 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 12105 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.
12105 12106 12107 12108 12109 12110 12111 12112 12113 12114 12115 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 12105 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.
12105 12106 12107 12108 12109 12110 12111 12112 12113 12114 12115 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 12105 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.
12105 12106 12107 12108 12109 12110 12111 12112 12113 12114 12115 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 12105 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.
12105 12106 12107 12108 12109 12110 12111 12112 12113 12114 12115 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 12105 class HarnessGeminiModelConfig < Struct.new( :model_id, :api_key_arn, :max_tokens, :temperature, :top_p, :top_k, :additional_params) SENSITIVE = [] include Aws::Structure end |