Class: Aws::BedrockAgentCoreControl::Types::InferenceTargetConfiguration
- Inherits:
-
Struct
- Object
- Struct
- Aws::BedrockAgentCoreControl::Types::InferenceTargetConfiguration
- Defined in:
- gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb
Overview
InferenceTargetConfiguration is a union - when making an API calls you must set exactly one of the members.
InferenceTargetConfiguration is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of InferenceTargetConfiguration corresponding to the set member.
The configuration for an inference target. An inference target routes requests to a large language model (LLM) provider, either through a built-in connector or an explicitly configured provider.
Defined Under Namespace
Classes: Connector, Provider, Unknown
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#connector ⇒ Types::InferenceConnectorTargetConfiguration
The connector-based inference configuration.
-
#provider ⇒ Types::InferenceProviderTargetConfiguration
The provider-based inference configuration.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
Instance Attribute Details
#connector ⇒ Types::InferenceConnectorTargetConfiguration
The connector-based inference configuration. Use this option to route requests to an LLM provider through a built-in connector that includes predefined provider rules.
13290 13291 13292 13293 13294 13295 13296 13297 13298 13299 13300 13301 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 13290 class InferenceTargetConfiguration < Struct.new( :connector, :provider, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class Connector < InferenceTargetConfiguration; end class Provider < InferenceTargetConfiguration; end class Unknown < InferenceTargetConfiguration; end end |
#provider ⇒ Types::InferenceProviderTargetConfiguration
The provider-based inference configuration. Use this option to explicitly configure the endpoint, model mapping, and operations for an LLM provider.
13290 13291 13292 13293 13294 13295 13296 13297 13298 13299 13300 13301 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 13290 class InferenceTargetConfiguration < Struct.new( :connector, :provider, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class Connector < InferenceTargetConfiguration; end class Provider < InferenceTargetConfiguration; end class Unknown < InferenceTargetConfiguration; end end |
#unknown ⇒ Object
Returns the value of attribute unknown
13290 13291 13292 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 13290 def unknown @unknown end |