Class: Aws::BedrockAgentRuntime::Types::OptimizedPrompt

Inherits:
Struct
  • Object
show all
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.

Defined Under Namespace

Classes: TextPrompt, Unknown

Constant Summary collapse

SENSITIVE =
[:text_prompt]

Instance Attribute Summary collapse

Instance Attribute Details

#text_prompt ⇒ Types::TextPrompt

Contains information about the text in the prompt that was optimized.

Returns:



7493
7494
7495
7496
7497
7498
7499
7500
7501
7502
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 7493

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

Returns:

  • (Object) —

    the current value of unknown



7493
7494
7495
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 7493

def unknown
  @unknown
end