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_point ⇒ Types::CachePointBlock

A cache checkpoint within a template configuration.



11539
11540
11541
11542
11543
11544
11545
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 11539

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

#input_variables ⇒ Array<Types::PromptInputVariable>

An array of the variables in the prompt template.

Returns:



11539
11540
11541
11542
11543
11544
11545
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 11539

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

#text ⇒ String

The message for the prompt.

Returns:

  • (String)


11539
11540
11541
11542
11543
11544
11545
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 11539

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