CreatePromptRouterRequest
Types
Properties
Link copied to clipboard
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.
Link copied to clipboard
An optional description of the prompt router to help identify its purpose.
Link copied to clipboard
The default model to use when the routing criteria is not met.
Link copied to clipboard
A list of foundation models that the prompt router can route requests to. At least one model must be specified.
Link copied to clipboard
The name of the prompt router. The name must be unique within your Amazon Web Services account in the current region.
Link copied to clipboard
The criteria, which is the response quality difference, used to determine how incoming requests are routed to different models.
Functions
Link copied to clipboard
inline fun copy(block: CreatePromptRouterRequest.Builder.() -> Unit = {}): CreatePromptRouterRequest