interface RoutingCriteriaProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Bedrock.CfnDefaultPromptRouter.RoutingCriteriaProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsbedrock#CfnDefaultPromptRouter_RoutingCriteriaProperty |
Java | software.amazon.awscdk.services.bedrock.CfnDefaultPromptRouter.RoutingCriteriaProperty |
Python | aws_cdk.aws_bedrock.CfnDefaultPromptRouter.RoutingCriteriaProperty |
TypeScript | aws-cdk-lib » aws_bedrock » CfnDefaultPromptRouter » 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-lib';
const routingCriteriaProperty: bedrock.CfnDefaultPromptRouter.RoutingCriteriaProperty = {
responseQualityDifference: 123,
};
Properties
| Name | Type | Description |
|---|---|---|
| response | number | The response quality difference threshold for routing. |
responseQualityDifference
Type:
number
The response quality difference threshold for routing.

.NET
Go
Java
Python
TypeScript