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 =
[:input_variables, :text]

Instance Attribute Summary collapse

Instance Attribute Details

#cache_pointTypes::CachePointBlock

A cache checkpoint within a template configuration.



10101
10102
10103
10104
10105
10106
10107
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 10101

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

#input_variablesArray<Types::PromptInputVariable>

An array of the variables in the prompt template.

Returns:



10101
10102
10103
10104
10105
10106
10107
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 10101

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

#textString

The message for the prompt.

Returns:

  • (String)


10101
10102
10103
10104
10105
10106
10107
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 10101

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