Class: Aws::BedrockAgentCoreControl::Types::HarnessModelConfiguration

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

Overview

Note:

HarnessModelConfiguration is a union - when making an API calls you must set exactly one of the members.

Note:

HarnessModelConfiguration is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of HarnessModelConfiguration corresponding to the set member.

Specification of which model to use.

Defined Under Namespace

Classes: BedrockModelConfig, GeminiModelConfig, LiteLlmModelConfig, OpenAiModelConfig, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#bedrock_model_config ⇒ Types::HarnessBedrockModelConfig

Configuration for an Amazon Bedrock model.



12411
12412
12413
12414
12415
12416
12417
12418
12419
12420
12421
12422
12423
12424
12425
12426
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 12411

class HarnessModelConfiguration < Struct.new(
  :bedrock_model_config,
  :open_ai_model_config,
  :gemini_model_config,
  :lite_llm_model_config,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class BedrockModelConfig < HarnessModelConfiguration; end
  class OpenAiModelConfig < HarnessModelConfiguration; end
  class GeminiModelConfig < HarnessModelConfiguration; end
  class LiteLlmModelConfig < HarnessModelConfiguration; end
  class Unknown < HarnessModelConfiguration; end
end

#gemini_model_config ⇒ Types::HarnessGeminiModelConfig

Configuration for a Google Gemini model.



12411
12412
12413
12414
12415
12416
12417
12418
12419
12420
12421
12422
12423
12424
12425
12426
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 12411

class HarnessModelConfiguration < Struct.new(
  :bedrock_model_config,
  :open_ai_model_config,
  :gemini_model_config,
  :lite_llm_model_config,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class BedrockModelConfig < HarnessModelConfiguration; end
  class OpenAiModelConfig < HarnessModelConfiguration; end
  class GeminiModelConfig < HarnessModelConfiguration; end
  class LiteLlmModelConfig < HarnessModelConfiguration; end
  class Unknown < HarnessModelConfiguration; end
end

#lite_llm_model_config ⇒ Types::HarnessLiteLlmModelConfig

The LiteLLM model configuration for connecting to third-party model providers.



12411
12412
12413
12414
12415
12416
12417
12418
12419
12420
12421
12422
12423
12424
12425
12426
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 12411

class HarnessModelConfiguration < Struct.new(
  :bedrock_model_config,
  :open_ai_model_config,
  :gemini_model_config,
  :lite_llm_model_config,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class BedrockModelConfig < HarnessModelConfiguration; end
  class OpenAiModelConfig < HarnessModelConfiguration; end
  class GeminiModelConfig < HarnessModelConfiguration; end
  class LiteLlmModelConfig < HarnessModelConfiguration; end
  class Unknown < HarnessModelConfiguration; end
end

#open_ai_model_config ⇒ Types::HarnessOpenAiModelConfig

Configuration for an OpenAI model.



12411
12412
12413
12414
12415
12416
12417
12418
12419
12420
12421
12422
12423
12424
12425
12426
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 12411

class HarnessModelConfiguration < Struct.new(
  :bedrock_model_config,
  :open_ai_model_config,
  :gemini_model_config,
  :lite_llm_model_config,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class BedrockModelConfig < HarnessModelConfiguration; end
  class OpenAiModelConfig < HarnessModelConfiguration; end
  class GeminiModelConfig < HarnessModelConfiguration; end
  class LiteLlmModelConfig < HarnessModelConfiguration; end
  class Unknown < HarnessModelConfiguration; end
end

#unknown ⇒ Object

Returns the value of attribute unknown

Returns:

  • (Object) —

    the current value of unknown



12411
12412
12413
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 12411

def unknown
  @unknown
end