interface RoutingCriteriaProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Bedrock.Mixins.CfnIntelligentPromptRouterPropsMixin.RoutingCriteriaProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsbedrock/mixins#CfnIntelligentPromptRouterPropsMixin_RoutingCriteriaProperty |
Java | software.amazon.awscdk.mixins.preview.services.bedrock.mixins.CfnIntelligentPromptRouterPropsMixin.RoutingCriteriaProperty |
Python | aws_cdk.mixins_preview.aws_bedrock.mixins.CfnIntelligentPromptRouterPropsMixin.RoutingCriteriaProperty |
TypeScript | @aws-cdk/mixins-preview » aws_bedrock » mixins » CfnIntelligentPromptRouterPropsMixin » 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 { mixins as bedrock_mixins } from '@aws-cdk/mixins-preview/aws-bedrock';
const routingCriteriaProperty: bedrock_mixins.CfnIntelligentPromptRouterPropsMixin.RoutingCriteriaProperty = {
responseQualityDifference: 123,
};
Properties
| Name | Type | Description |
|---|---|---|
| response | number | The criteria's response quality difference. |
responseQualityDifference?
Type:
number
(optional)
The criteria's response quality difference.

.NET
Go
Java
Python
TypeScript