CmdID / aws / aws bedrock
aws bedrock create-prompt-router
Creates a prompt router that manages the routing of requests between multiple foundation models based on the routing criteria. AWS CLI reference
7 options Its page in the AWS CLI reference
Options
--client-request-tokenA unique, case-sensitive identifier that you provide to ensure idempotency of your requests.--descriptionAn optional description of the prompt router to help identify its purpose.--fallback-modelThe default model to use when the routing criteria is not met.--modelsA list of foundation models that the prompt router can route requests to.--prompt-router-nameThe name of the prompt router.--routing-criteriaThe criteria, which is the response quality difference, used to determine how incoming requests are routed to different models.--tagsAn array of key-value pairs to apply to this resource as tags.