Class: Aws::BedrockAgent::Types::PromptTemplateConfiguration
- Inherits:
-
Struct
- Object
- Struct
- Aws::BedrockAgent::Types::PromptTemplateConfiguration
- Defined in:
- gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb
Overview
PromptTemplateConfiguration is a union - when making an API calls you must set exactly one of the members.
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 Construct and store reusable prompts with Prompt management in Amazon Bedrock.
Defined Under Namespace
Constant Summary collapse
- SENSITIVE =
[:chat, :text]
Instance Attribute Summary collapse
-
#chat ⇒ Types::ChatPromptTemplateConfiguration
Contains configurations to use the prompt in a conversational format.
-
#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
#chat ⇒ Types::ChatPromptTemplateConfiguration
Contains configurations to use the prompt in a conversational format.
7966 7967 7968 7969 7970 7971 7972 7973 7974 7975 7976 7977 |
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 7966 class PromptTemplateConfiguration < Struct.new( :chat, :text, :unknown) SENSITIVE = [:chat, :text] include Aws::Structure include Aws::Structure::Union class Chat < PromptTemplateConfiguration; end class Text < PromptTemplateConfiguration; end class Unknown < PromptTemplateConfiguration; end end |
#text ⇒ Types::TextPromptTemplateConfiguration
Contains configurations for the text in a message for a prompt.
7966 7967 7968 7969 7970 7971 7972 7973 7974 7975 7976 7977 |
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 7966 class PromptTemplateConfiguration < Struct.new( :chat, :text, :unknown) SENSITIVE = [:chat, :text] include Aws::Structure include Aws::Structure::Union class Chat < PromptTemplateConfiguration; end class Text < PromptTemplateConfiguration; end class Unknown < PromptTemplateConfiguration; end end |
#unknown ⇒ Object
Returns the value of attribute unknown
7966 7967 7968 |
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 7966 def unknown @unknown end |