Skip to content
v2.275.0

RoutingCriteriaProperty Struct ​

Routing criteria for a prompt router.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_bedrock as bedrock } from 'aws-cdk-lib';
const routingCriteriaProperty: bedrock.CfnIntelligentPromptRouter.RoutingCriteriaProperty = {
  responseQualityDifference: 123,
};

Properties ​

responseQualityDifferencenumberresponse_quality_differenceint | floatresponseQualityDifferenceNumberResponseQualityDifferencedoubleResponseQualityDifference*float64required#
The criteria's response quality difference.