interface RoutingCriteriaProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.Bedrock.CfnDefaultPromptRouterPropsMixin.RoutingCriteriaProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsbedrock#CfnDefaultPromptRouterPropsMixin_RoutingCriteriaProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.bedrock.CfnDefaultPromptRouterPropsMixin.RoutingCriteriaProperty |
Python | aws_cdk.cfn_property_mixins.aws_bedrock.CfnDefaultPromptRouterPropsMixin.RoutingCriteriaProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_bedrock » CfnDefaultPromptRouterPropsMixin » RoutingCriteriaProperty |
Routing criteria for a prompt router.
Example
// 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/cfn-property-mixins';
const routingCriteriaProperty: bedrock.CfnDefaultPromptRouterPropsMixin.RoutingCriteriaProperty = {
responseQualityDifference: 123,
};
Properties
| Name | Type | Description |
|---|---|---|
| response | number | The response quality difference threshold for routing. |
responseQualityDifference?
Type:
number
(optional)
The response quality difference threshold for routing.

.NET
Go
Java
Python
TypeScript