Class: Aws::BedrockAgentCore::Types::RecommendationResult

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

Overview

Note:

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

The result of a recommendation, containing the optimized output.

Defined Under Namespace

Classes: SystemPromptRecommendationResult, ToolDescriptionRecommendationResult, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#system_prompt_recommendation_result ⇒ Types::SystemPromptRecommendationResult

The result of a system prompt recommendation.



8827
8828
8829
8830
8831
8832
8833
8834
8835
8836
8837
8838
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 8827

class RecommendationResult < Struct.new(
  :system_prompt_recommendation_result,
  :tool_description_recommendation_result,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class SystemPromptRecommendationResult < RecommendationResult; end
  class ToolDescriptionRecommendationResult < RecommendationResult; end
  class Unknown < RecommendationResult; end
end

#tool_description_recommendation_result ⇒ Types::ToolDescriptionRecommendationResult

The result of a tool description recommendation.



8827
8828
8829
8830
8831
8832
8833
8834
8835
8836
8837
8838
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 8827

class RecommendationResult < Struct.new(
  :system_prompt_recommendation_result,
  :tool_description_recommendation_result,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class SystemPromptRecommendationResult < RecommendationResult; end
  class ToolDescriptionRecommendationResult < RecommendationResult; end
  class Unknown < RecommendationResult; end
end

#unknown ⇒ Object

Returns the value of attribute unknown

Returns:

  • (Object) —

    the current value of unknown



8827
8828
8829
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 8827

def unknown
  @unknown
end