Class: Aws::BedrockAgentCore::Types::SystemPromptConfig

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb

Overview

Note:

SystemPromptConfig is a union - when making an API calls you must set exactly one of the members.

Note:

SystemPromptConfig is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of SystemPromptConfig corresponding to the set member.

The system prompt input, either as inline text or from a configuration bundle.

Defined Under Namespace

Classes: ConfigurationBundle, Text, Unknown

Constant Summary collapse

SENSITIVE =
[:text]

Instance Attribute Summary collapse

Instance Attribute Details

#configuration_bundle ⇒ Types::SystemPromptConfigurationBundle

The system prompt sourced from a configuration bundle version.



10590
10591
10592
10593
10594
10595
10596
10597
10598
10599
10600
10601
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 10590

class SystemPromptConfig < Struct.new(
  :text,
  :configuration_bundle,
  :unknown)
  SENSITIVE = [:text]
  include Aws::Structure
  include Aws::Structure::Union

  class Text < SystemPromptConfig; end
  class ConfigurationBundle < SystemPromptConfig; end
  class Unknown < SystemPromptConfig; end
end

#text ⇒ String

The system prompt text provided inline.

Returns:

  • (String)


10590
10591
10592
10593
10594
10595
10596
10597
10598
10599
10600
10601
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 10590

class SystemPromptConfig < Struct.new(
  :text,
  :configuration_bundle,
  :unknown)
  SENSITIVE = [:text]
  include Aws::Structure
  include Aws::Structure::Union

  class Text < SystemPromptConfig; end
  class ConfigurationBundle < SystemPromptConfig; end
  class Unknown < SystemPromptConfig; end
end

#unknown ⇒ Object

Returns the value of attribute unknown

Returns:

  • (Object) —

    the current value of unknown



10590
10591
10592
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 10590

def unknown
  @unknown
end