Class: Aws::BedrockAgentCoreControl::Types::HarnessLiteLlmModelConfig
- Inherits:
-
Struct
- Object
- Struct
- Aws::BedrockAgentCoreControl::Types::HarnessLiteLlmModelConfig
- Defined in:
- gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb
Overview
Configuration for a LiteLLM model provider, enabling connection to third-party model providers.
Constant Summary collapse
- SENSITIVE =
[:api_base]
Instance Attribute Summary collapse
-
#additional_params ⇒ Hash, ...
Provider-specific parameters passed through to the model provider unchanged.
-
#api_base ⇒ String
The base URL for the model provider's API endpoint.
-
#api_key_arn ⇒ String
The ARN of the API key in AgentCore Identity for authenticating with the model provider.
-
#max_tokens ⇒ Integer
The maximum number of tokens to allow in the generated response per iteration.
-
#model_id ⇒ String
The LiteLLM model identifier (e.g., "anthropic/claude-3-sonnet").
-
#temperature ⇒ Float
The temperature to 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 model provider unchanged.
12307 12308 12309 12310 12311 12312 12313 12314 12315 12316 12317 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 12307 class HarnessLiteLlmModelConfig < Struct.new( :model_id, :api_key_arn, :api_base, :max_tokens, :temperature, :top_p, :additional_params) SENSITIVE = [:api_base] include Aws::Structure end |
#api_base ⇒ String
The base URL for the model provider's API endpoint.
12307 12308 12309 12310 12311 12312 12313 12314 12315 12316 12317 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 12307 class HarnessLiteLlmModelConfig < Struct.new( :model_id, :api_key_arn, :api_base, :max_tokens, :temperature, :top_p, :additional_params) SENSITIVE = [:api_base] include Aws::Structure end |
#api_key_arn ⇒ String
The ARN of the API key in AgentCore Identity for authenticating with the model provider.
12307 12308 12309 12310 12311 12312 12313 12314 12315 12316 12317 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 12307 class HarnessLiteLlmModelConfig < Struct.new( :model_id, :api_key_arn, :api_base, :max_tokens, :temperature, :top_p, :additional_params) SENSITIVE = [:api_base] include Aws::Structure end |
#max_tokens ⇒ Integer
The maximum number of tokens to allow in the generated response per iteration.
12307 12308 12309 12310 12311 12312 12313 12314 12315 12316 12317 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 12307 class HarnessLiteLlmModelConfig < Struct.new( :model_id, :api_key_arn, :api_base, :max_tokens, :temperature, :top_p, :additional_params) SENSITIVE = [:api_base] include Aws::Structure end |
#model_id ⇒ String
The LiteLLM model identifier (e.g., "anthropic/claude-3-sonnet").
12307 12308 12309 12310 12311 12312 12313 12314 12315 12316 12317 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 12307 class HarnessLiteLlmModelConfig < Struct.new( :model_id, :api_key_arn, :api_base, :max_tokens, :temperature, :top_p, :additional_params) SENSITIVE = [:api_base] include Aws::Structure end |
#temperature ⇒ Float
The temperature to set when calling the model.
12307 12308 12309 12310 12311 12312 12313 12314 12315 12316 12317 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 12307 class HarnessLiteLlmModelConfig < Struct.new( :model_id, :api_key_arn, :api_base, :max_tokens, :temperature, :top_p, :additional_params) SENSITIVE = [:api_base] include Aws::Structure end |
#top_p ⇒ Float
The topP set when calling the model.
12307 12308 12309 12310 12311 12312 12313 12314 12315 12316 12317 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 12307 class HarnessLiteLlmModelConfig < Struct.new( :model_id, :api_key_arn, :api_base, :max_tokens, :temperature, :top_p, :additional_params) SENSITIVE = [:api_base] include Aws::Structure end |