Class: Aws::BedrockAgent::Types::PromptInferenceConfiguration

Inherits:
Struct
  • Object
show all
Includes:
Structure, Structure::Union
Defined in:
lib/aws-sdk-bedrockagent/types.rb

Overview

Note:

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

Note:

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

Contains inference configurations for the prompt.

Direct Known Subclasses

Text, Unknown

Defined Under Namespace

Classes: Text, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#textTypes::PromptModelInferenceConfiguration

Contains inference configurations for a text prompt.



5974
5975
5976
5977
5978
5979
5980
5981
5982
5983
# File 'lib/aws-sdk-bedrockagent/types.rb', line 5974

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

  class Text < PromptInferenceConfiguration; end
  class Unknown < PromptInferenceConfiguration; end
end

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



5974
5975
5976
# File 'lib/aws-sdk-bedrockagent/types.rb', line 5974

def unknown
  @unknown
end