Class: Aws::Bedrock::Types::CreatePromptRouterRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::Bedrock::Types::CreatePromptRouterRequest
- Defined in:
- gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[:description]
Instance Attribute Summary collapse
-
#client_request_token ⇒ String
A unique, case-sensitive identifier that you provide to ensure idempotency of your requests.
-
#description ⇒ String
An optional description of the prompt router to help identify its purpose.
-
#fallback_model ⇒ Types::PromptRouterTargetModel
The default model to use when the routing criteria is not met.
-
#models ⇒ Array<Types::PromptRouterTargetModel>
A list of foundation models that the prompt router can route requests to.
-
#prompt_router_name ⇒ String
The name of the prompt router.
-
#routing_criteria ⇒ Types::RoutingCriteria
The criteria, which is the response quality difference, used to determine how incoming requests are routed to different models.
-
#tags ⇒ Array<Types::Tag>
An array of key-value pairs to apply to this resource as tags.
Instance Attribute Details
#client_request_token ⇒ String
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.
A suitable default value is auto-generated. You should normally not need to pass this option.
3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 |
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 3423 class CreatePromptRouterRequest < Struct.new( :client_request_token, :prompt_router_name, :models, :description, :routing_criteria, :fallback_model, :tags) SENSITIVE = [:description] include Aws::Structure end |
#description ⇒ String
An optional description of the prompt router to help identify its purpose.
3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 |
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 3423 class CreatePromptRouterRequest < Struct.new( :client_request_token, :prompt_router_name, :models, :description, :routing_criteria, :fallback_model, :tags) SENSITIVE = [:description] include Aws::Structure end |
#fallback_model ⇒ Types::PromptRouterTargetModel
The default model to use when the routing criteria is not met.
3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 |
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 3423 class CreatePromptRouterRequest < Struct.new( :client_request_token, :prompt_router_name, :models, :description, :routing_criteria, :fallback_model, :tags) SENSITIVE = [:description] include Aws::Structure end |
#models ⇒ Array<Types::PromptRouterTargetModel>
A list of foundation models that the prompt router can route requests to. At least one model must be specified.
3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 |
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 3423 class CreatePromptRouterRequest < Struct.new( :client_request_token, :prompt_router_name, :models, :description, :routing_criteria, :fallback_model, :tags) SENSITIVE = [:description] include Aws::Structure end |
#prompt_router_name ⇒ String
The name of the prompt router. The name must be unique within your Amazon Web Services account in the current region.
3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 |
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 3423 class CreatePromptRouterRequest < Struct.new( :client_request_token, :prompt_router_name, :models, :description, :routing_criteria, :fallback_model, :tags) SENSITIVE = [:description] include Aws::Structure end |
#routing_criteria ⇒ Types::RoutingCriteria
The criteria, which is the response quality difference, used to determine how incoming requests are routed to different models.
3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 |
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 3423 class CreatePromptRouterRequest < Struct.new( :client_request_token, :prompt_router_name, :models, :description, :routing_criteria, :fallback_model, :tags) SENSITIVE = [:description] include Aws::Structure end |
#tags ⇒ Array<Types::Tag>
An array of key-value pairs to apply to this resource as tags. You can use tags to categorize and manage your Amazon Web Services resources.
3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 |
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 3423 class CreatePromptRouterRequest < Struct.new( :client_request_token, :prompt_router_name, :models, :description, :routing_criteria, :fallback_model, :tags) SENSITIVE = [:description] include Aws::Structure end |