Class: Aws::BedrockAgent::Types::PromptTemplateConfiguration

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

Overview

Note:

PromptTemplateConfiguration is a union - when making an API calls you must set exactly one of the members.

Note:

PromptTemplateConfiguration is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of PromptTemplateConfiguration corresponding to the set member.

Contains the message for a prompt. For more information, see Prompt management in Amazon Bedrock.

Direct Known Subclasses

Text, Unknown

Defined Under Namespace

Classes: Text, Unknown

Constant Summary collapse

SENSITIVE =
[:text]

Instance Attribute Summary collapse

Instance Attribute Details

#textTypes::TextPromptTemplateConfiguration

Contains configurations for the text in a message for a prompt.



6169
6170
6171
6172
6173
6174
6175
6176
6177
6178
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 6169

class PromptTemplateConfiguration < Struct.new(
  :text,
  :unknown)
  SENSITIVE = [:text]
  include Aws::Structure
  include Aws::Structure::Union

  class Text < PromptTemplateConfiguration; end
  class Unknown < PromptTemplateConfiguration; end
end

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



6169
6170
6171
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 6169

def unknown
  @unknown
end