Class: Aws::BedrockAgent::Types::PromptVariant

Inherits:
Struct
  • Object
show all
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

Instance Attribute Details

#inference_configurationTypes::PromptInferenceConfiguration

Contains inference configurations for the prompt variant.



6224
6225
6226
6227
6228
6229
6230
6231
6232
6233
# File 'lib/aws-sdk-bedrockagent/types.rb', line 6224

class PromptVariant < Struct.new(
  :inference_configuration,
  :metadata,
  :model_id,
  :name,
  :template_configuration,
  :template_type)
  SENSITIVE = [:metadata]
  include Aws::Structure
end

#metadataArray<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

Returns:



6224
6225
6226
6227
6228
6229
6230
6231
6232
6233
# File 'lib/aws-sdk-bedrockagent/types.rb', line 6224

class PromptVariant < Struct.new(
  :inference_configuration,
  :metadata,
  :model_id,
  :name,
  :template_configuration,
  :template_type)
  SENSITIVE = [:metadata]
  include Aws::Structure
end

#model_idString

The unique identifier of the model with which to run inference on the prompt.

Returns:

  • (String)


6224
6225
6226
6227
6228
6229
6230
6231
6232
6233
# File 'lib/aws-sdk-bedrockagent/types.rb', line 6224

class PromptVariant < Struct.new(
  :inference_configuration,
  :metadata,
  :model_id,
  :name,
  :template_configuration,
  :template_type)
  SENSITIVE = [:metadata]
  include Aws::Structure
end

#nameString

The name of the prompt variant.

Returns:

  • (String)


6224
6225
6226
6227
6228
6229
6230
6231
6232
6233
# File 'lib/aws-sdk-bedrockagent/types.rb', line 6224

class PromptVariant < Struct.new(
  :inference_configuration,
  :metadata,
  :model_id,
  :name,
  :template_configuration,
  :template_type)
  SENSITIVE = [:metadata]
  include Aws::Structure
end

#template_configurationTypes::PromptTemplateConfiguration

Contains configurations for the prompt template.



6224
6225
6226
6227
6228
6229
6230
6231
6232
6233
# File 'lib/aws-sdk-bedrockagent/types.rb', line 6224

class PromptVariant < Struct.new(
  :inference_configuration,
  :metadata,
  :model_id,
  :name,
  :template_configuration,
  :template_type)
  SENSITIVE = [:metadata]
  include Aws::Structure
end

#template_typeString

The type of prompt template to use.

Returns:

  • (String)


6224
6225
6226
6227
6228
6229
6230
6231
6232
6233
# File 'lib/aws-sdk-bedrockagent/types.rb', line 6224

class PromptVariant < Struct.new(
  :inference_configuration,
  :metadata,
  :model_id,
  :name,
  :template_configuration,
  :template_type)
  SENSITIVE = [:metadata]
  include Aws::Structure
end