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 =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#inference_configurationTypes::PromptInferenceConfiguration

Contains inference configurations for the prompt variant.



6162
6163
6164
6165
6166
6167
6168
6169
6170
# File 'lib/aws-sdk-bedrockagent/types.rb', line 6162

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

#model_idString

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

Returns:

  • (String)


6162
6163
6164
6165
6166
6167
6168
6169
6170
# File 'lib/aws-sdk-bedrockagent/types.rb', line 6162

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

#nameString

The name of the prompt variant.

Returns:

  • (String)


6162
6163
6164
6165
6166
6167
6168
6169
6170
# File 'lib/aws-sdk-bedrockagent/types.rb', line 6162

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

#template_configurationTypes::PromptTemplateConfiguration

Contains configurations for the prompt template.



6162
6163
6164
6165
6166
6167
6168
6169
6170
# File 'lib/aws-sdk-bedrockagent/types.rb', line 6162

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

#template_typeString

The type of prompt template to use.

Returns:

  • (String)


6162
6163
6164
6165
6166
6167
6168
6169
6170
# File 'lib/aws-sdk-bedrockagent/types.rb', line 6162

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