Class: Aws::BedrockAgentCore::Types::SystemPromptRecommendationResult

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

Overview

The result of a system prompt recommendation, containing the optimized prompt.

Constant Summary collapse

SENSITIVE =
[:recommended_system_prompt]

Instance Attribute Summary collapse

Instance Attribute Details

#configuration_bundle ⇒ Types::RecommendationResultConfigurationBundle

The configuration bundle containing the recommended system prompt, if the input was sourced from a configuration bundle.



10681
10682
10683
10684
10685
10686
10687
10688
10689
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 10681

class SystemPromptRecommendationResult < Struct.new(
  :recommended_system_prompt,
  :configuration_bundle,
  :explanation,
  :error_code,
  :error_message)
  SENSITIVE = [:recommended_system_prompt]
  include Aws::Structure
end

#error_code ⇒ String

The error code if the recommendation failed.

Returns:

  • (String)


10681
10682
10683
10684
10685
10686
10687
10688
10689
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 10681

class SystemPromptRecommendationResult < Struct.new(
  :recommended_system_prompt,
  :configuration_bundle,
  :explanation,
  :error_code,
  :error_message)
  SENSITIVE = [:recommended_system_prompt]
  include Aws::Structure
end

#error_message ⇒ String

The error message if the recommendation failed.

Returns:

  • (String)


10681
10682
10683
10684
10685
10686
10687
10688
10689
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 10681

class SystemPromptRecommendationResult < Struct.new(
  :recommended_system_prompt,
  :configuration_bundle,
  :explanation,
  :error_code,
  :error_message)
  SENSITIVE = [:recommended_system_prompt]
  include Aws::Structure
end

#explanation ⇒ String

An explanation of why the recommendation was generated and what patterns were identified in the agent traces.

Returns:

  • (String)


10681
10682
10683
10684
10685
10686
10687
10688
10689
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 10681

class SystemPromptRecommendationResult < Struct.new(
  :recommended_system_prompt,
  :configuration_bundle,
  :explanation,
  :error_code,
  :error_message)
  SENSITIVE = [:recommended_system_prompt]
  include Aws::Structure
end

The optimized system prompt text generated by the recommendation.

Returns:

  • (String)


10681
10682
10683
10684
10685
10686
10687
10688
10689
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 10681

class SystemPromptRecommendationResult < Struct.new(
  :recommended_system_prompt,
  :configuration_bundle,
  :explanation,
  :error_code,
  :error_message)
  SENSITIVE = [:recommended_system_prompt]
  include Aws::Structure
end