Class: Aws::BedrockRuntime::Types::OutputFormatStructure

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

Overview

Note:

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

The structure that the model's output must adhere to.

Defined Under Namespace

Classes: JsonSchema, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#json_schemaTypes::JsonSchemaDefinition

A JSON schema structure that the model's output must adhere to.



4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 4319

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

  class JsonSchema < OutputFormatStructure; end
  class Unknown < OutputFormatStructure; end
end

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



4319
4320
4321
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 4319

def unknown
  @unknown
end