Builder
Properties
A unique, case-sensitive identifier that you provide to ensure idempotency of your requests. If not specified, the Amazon Web Services SDK automatically generates one for you.
An optional description of the prompt router to help identify its purpose.
The default model to use when the routing criteria is not met.
A list of foundation models that the prompt router can route requests to. At least one model must be specified.
The name of the prompt router. The name must be unique within your Amazon Web Services account in the current region.
The criteria, which is the response quality difference, used to determine how incoming requests are routed to different models.
Functions
construct an aws.sdk.kotlin.services.bedrock.model.PromptRouterTargetModel inside the given block
construct an aws.sdk.kotlin.services.bedrock.model.RoutingCriteria inside the given block