CreatePromptRouterRequest
¶
Source code in docs_src/capo_bedrock/types/create_prompt_router_request.py
client_request_token
instance-attribute
¶
client_request_token: NotRequired[IdempotencyToken]
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.
description
instance-attribute
¶
description: NotRequired[PromptRouterDescription]
An optional description of the prompt router to help identify its purpose.
fallback_model
instance-attribute
¶
fallback_model: PromptRouterTargetModel
The default model to use when the routing criteria is not met.
models
instance-attribute
¶
models: PromptRouterTargetModels
A list of foundation models that the prompt router can route requests to. At least one model must be specified.
prompt_router_name
instance-attribute
¶
prompt_router_name: PromptRouterName
The name of the prompt router. The name must be unique within your Amazon Web Services account in the current region.
routing_criteria
instance-attribute
¶
routing_criteria: RoutingCriteria
The criteria, which is the response quality difference, used to determine how incoming requests are routed to different models.