Class: Aws::BedrockAgentRuntime::Types::OptimizedPrompt
- Inherits:
-
Struct
- Object
- Struct
- Aws::BedrockAgentRuntime::Types::OptimizedPrompt
- Defined in:
- gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb
Overview
Note:
OptimizedPrompt is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of OptimizedPrompt corresponding to the set member.
Contains information about the optimized prompt.
Direct Known Subclasses
Defined Under Namespace
Classes: TextPrompt, Unknown
Constant Summary collapse
- SENSITIVE =
[:text_prompt]
Instance Attribute Summary collapse
-
#text_prompt ⇒ Types::TextPrompt
Contains information about the text in the prompt that was optimized.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
Instance Attribute Details
#text_prompt ⇒ Types::TextPrompt
Contains information about the text in the prompt that was optimized.
3156 3157 3158 3159 3160 3161 3162 3163 3164 3165 |
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 3156 class OptimizedPrompt < Struct.new( :text_prompt, :unknown) SENSITIVE = [:text_prompt] include Aws::Structure include Aws::Structure::Union class TextPrompt < OptimizedPrompt; end class Unknown < OptimizedPrompt; end end |
#unknown ⇒ Object
Returns the value of attribute unknown
3156 3157 3158 |
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 3156 def unknown @unknown end |