Class: Aws::BedrockAgentCore::Types::RecommendationConfig

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

Overview

Note:

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

Note:

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

The configuration for a recommendation, varying by recommendation type.

Defined Under Namespace

Classes: SystemPromptRecommendationConfig, ToolDescriptionRecommendationConfig, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#system_prompt_recommendation_config ⇒ Types::SystemPromptRecommendationConfig

The configuration for a system prompt recommendation.



8772
8773
8774
8775
8776
8777
8778
8779
8780
8781
8782
8783
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 8772

class RecommendationConfig < Struct.new(
  :system_prompt_recommendation_config,
  :tool_description_recommendation_config,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class SystemPromptRecommendationConfig < RecommendationConfig; end
  class ToolDescriptionRecommendationConfig < RecommendationConfig; end
  class Unknown < RecommendationConfig; end
end

#tool_description_recommendation_config ⇒ Types::ToolDescriptionRecommendationConfig

The configuration for a tool description recommendation.



8772
8773
8774
8775
8776
8777
8778
8779
8780
8781
8782
8783
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 8772

class RecommendationConfig < Struct.new(
  :system_prompt_recommendation_config,
  :tool_description_recommendation_config,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class SystemPromptRecommendationConfig < RecommendationConfig; end
  class ToolDescriptionRecommendationConfig < RecommendationConfig; end
  class Unknown < RecommendationConfig; end
end

#unknown ⇒ Object

Returns the value of attribute unknown

Returns:

  • (Object) —

    the current value of unknown



8772
8773
8774
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 8772

def unknown
  @unknown
end