AutomatedReasoningPolicyUpdateFromScenarioFeedbackAnnotation - Amazon Bedrock

AutomatedReasoningPolicyUpdateFromScenarioFeedbackAnnotation

An annotation for updating the policy based on feedback about how it performed on specific test scenarios.

Contents

scenarioExpression

The logical expression that defines the test scenario that generated this feedback.

Type: String

Length Constraints: Minimum length of 0. Maximum length of 1024.

Required: Yes

feedback

The feedback information about scenario performance, including any issues or improvements identified.

Type: String

Length Constraints: Minimum length of 0. Maximum length of 1024.

Pattern: [\s\S]+

Required: No

ruleIds

The list of rule identifiers that were involved in the scenario being evaluated.

Type: Array of strings

Array Members: Minimum number of 0 items. Maximum number of 100 items.

Length Constraints: Fixed length of 12.

Pattern: [A-Z][0-9A-Z]{11}

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: