Class: Aws::BedrockAgentCore::Types::SystemPromptRecommendationResult
- Inherits:
-
Struct
- Object
- Struct
- Aws::BedrockAgentCore::Types::SystemPromptRecommendationResult
- 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
-
#configuration_bundle ⇒ Types::RecommendationResultConfigurationBundle
The configuration bundle containing the recommended system prompt, if the input was sourced from a configuration bundle.
-
#error_code ⇒ String
The error code if the recommendation failed.
-
#error_message ⇒ String
The error message if the recommendation failed.
-
#explanation ⇒ String
An explanation of why the recommendation was generated and what patterns were identified in the agent traces.
-
#recommended_system_prompt ⇒ String
The optimized system prompt text generated by the recommendation.
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.
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.
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.
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 |
#recommended_system_prompt ⇒ String
The optimized system prompt text generated by the recommendation.
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 |