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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-bedrockagent/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.



6036
6037
6038
6039
6040
6041
6042
6043
6044
6045
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 6036

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



6036
6037
6038
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 6036

def unknown
  @unknown
end