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.
6117 6118 6119 6120 6121 6122 6123 6124 6125 6126 |
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 6117 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
6117 6118 6119 |
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 6117 def unknown @unknown end |