Class: Aws::BedrockAgent::Types::TextPromptTemplateConfiguration

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-bedrockagent/types.rb

Overview

Contains configurations for a text prompt template. To include a variable, enclose a word in double curly braces as in ‘{variable}`.

Constant Summary collapse

SENSITIVE =
[:input_variables, :text]

Instance Attribute Summary collapse

Instance Attribute Details

#input_variablesArray<Types::PromptInputVariable>

An array of the variables in the prompt template.

Returns:



6887
6888
6889
6890
6891
6892
# File 'lib/aws-sdk-bedrockagent/types.rb', line 6887

class TextPromptTemplateConfiguration < Struct.new(
  :input_variables,
  :text)
  SENSITIVE = [:input_variables, :text]
  include Aws::Structure
end

#textString

The message for the prompt.

Returns:

  • (String)


6887
6888
6889
6890
6891
6892
# File 'lib/aws-sdk-bedrockagent/types.rb', line 6887

class TextPromptTemplateConfiguration < Struct.new(
  :input_variables,
  :text)
  SENSITIVE = [:input_variables, :text]
  include Aws::Structure
end