Class: Aws::BedrockAgentCoreControl::Types::HarnessLiteLlmModelConfig

Inherits:
Struct
  • Object
show all
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

Instance Attribute Details

#additional_params ⇒ Hash, ...

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

Returns:

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


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.

Returns:

  • (String)


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.

Returns:

  • (String)


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.

Returns:

  • (Integer)


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").

Returns:

  • (String)


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.

Returns:

  • (Float)


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.

Returns:

  • (Float)


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