Class: Aws::BedrockAgent::Types::PromptVariant
- Inherits:
-
Struct
- Object
- Struct
- Aws::BedrockAgent::Types::PromptVariant
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-bedrockagent/types.rb
Overview
Contains details about a variant of the prompt.
Constant Summary collapse
- SENSITIVE =
[:metadata]
Instance Attribute Summary collapse
-
#inference_configuration ⇒ Types::PromptInferenceConfiguration
Contains inference configurations for the prompt variant.
-
#metadata ⇒ Array<Types::PromptMetadataEntry>
An array of objects, each containing a key-value pair that defines a metadata tag and value to attach to a prompt variant.
-
#model_id ⇒ String
The unique identifier of the model or [inference profile] with which to run inference on the prompt.
-
#name ⇒ String
The name of the prompt variant.
-
#template_configuration ⇒ Types::PromptTemplateConfiguration
Contains configurations for the prompt template.
-
#template_type ⇒ String
The type of prompt template to use.
Instance Attribute Details
#inference_configuration ⇒ Types::PromptInferenceConfiguration
Contains inference configurations for the prompt variant.
6237 6238 6239 6240 6241 6242 6243 6244 6245 6246 |
# File 'lib/aws-sdk-bedrockagent/types.rb', line 6237 class PromptVariant < Struct.new( :inference_configuration, :metadata, :model_id, :name, :template_configuration, :template_type) SENSITIVE = [:metadata] include Aws::Structure end |
#metadata ⇒ Array<Types::PromptMetadataEntry>
An array of objects, each containing a key-value pair that defines a metadata tag and value to attach to a prompt variant. For more information, see [Create a prompt using Prompt management].
[1]: docs.aws.amazon.com/bedrock/latest/userguide/prompt-management-create.html
6237 6238 6239 6240 6241 6242 6243 6244 6245 6246 |
# File 'lib/aws-sdk-bedrockagent/types.rb', line 6237 class PromptVariant < Struct.new( :inference_configuration, :metadata, :model_id, :name, :template_configuration, :template_type) SENSITIVE = [:metadata] include Aws::Structure end |
#model_id ⇒ String
The unique identifier of the model or [inference profile] with which to run inference on the prompt.
[1]: docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference.html
6237 6238 6239 6240 6241 6242 6243 6244 6245 6246 |
# File 'lib/aws-sdk-bedrockagent/types.rb', line 6237 class PromptVariant < Struct.new( :inference_configuration, :metadata, :model_id, :name, :template_configuration, :template_type) SENSITIVE = [:metadata] include Aws::Structure end |
#name ⇒ String
The name of the prompt variant.
6237 6238 6239 6240 6241 6242 6243 6244 6245 6246 |
# File 'lib/aws-sdk-bedrockagent/types.rb', line 6237 class PromptVariant < Struct.new( :inference_configuration, :metadata, :model_id, :name, :template_configuration, :template_type) SENSITIVE = [:metadata] include Aws::Structure end |
#template_configuration ⇒ Types::PromptTemplateConfiguration
Contains configurations for the prompt template.
6237 6238 6239 6240 6241 6242 6243 6244 6245 6246 |
# File 'lib/aws-sdk-bedrockagent/types.rb', line 6237 class PromptVariant < Struct.new( :inference_configuration, :metadata, :model_id, :name, :template_configuration, :template_type) SENSITIVE = [:metadata] include Aws::Structure end |
#template_type ⇒ String
The type of prompt template to use.
6237 6238 6239 6240 6241 6242 6243 6244 6245 6246 |
# File 'lib/aws-sdk-bedrockagent/types.rb', line 6237 class PromptVariant < Struct.new( :inference_configuration, :metadata, :model_id, :name, :template_configuration, :template_type) SENSITIVE = [:metadata] include Aws::Structure end |