Class: Aws::BedrockAgent::Types::PromptTemplateConfiguration
- Inherits:
-
Struct
- Object
- Struct
- Aws::BedrockAgent::Types::PromptTemplateConfiguration
- Includes:
- Structure, Structure::Union
- Defined in:
- 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].
[1]: docs.aws.amazon.com/bedrock/latest/userguide/prompt-management.html
Defined Under Namespace
Constant Summary collapse
- SENSITIVE =
[:text]
Instance Attribute Summary collapse
-
#text ⇒ Types::TextPromptTemplateConfiguration
Contains configurations for the text in a message for a prompt.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
Instance Attribute Details
#text ⇒ Types::TextPromptTemplateConfiguration
Contains configurations for the text in a message for a prompt.
6126 6127 6128 6129 6130 6131 6132 6133 6134 6135 |
# File 'lib/aws-sdk-bedrockagent/types.rb', line 6126 class PromptTemplateConfiguration < Struct.new( :text, :unknown) SENSITIVE = [:text] include Aws::Structure include Aws::Structure::Union class Text < PromptTemplateConfiguration; end class Unknown < PromptTemplateConfiguration; end end |
#unknown ⇒ Object
Returns the value of attribute unknown
6126 6127 6128 |
# File 'lib/aws-sdk-bedrockagent/types.rb', line 6126 def unknown @unknown end |