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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-bedrockagent/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 =
[:text, :input_variables]

Instance Attribute Summary collapse

Instance Attribute Details

#cache_pointTypes::CachePointBlock

A cache checkpoint within a template configuration.



10146
10147
10148
10149
10150
10151
10152
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 10146

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

#input_variablesArray<Types::PromptInputVariable>

An array of the variables in the prompt template.

Returns:



10146
10147
10148
10149
10150
10151
10152
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 10146

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

#textString

The message for the prompt.

Returns:

  • (String)


10146
10147
10148
10149
10150
10151
10152
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 10146

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