Class: Aws::BedrockAgentCore::Types::HarnessGeminiModelConfig
- Inherits:
-
Struct
- Object
- Struct
- Aws::BedrockAgentCore::Types::HarnessGeminiModelConfig
- 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
-
#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 iteration.
-
#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.
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.
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.
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.
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.
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.
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.
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 |