Class: Aws::BedrockRuntime::Types::JsonSchemaDefinition

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

Overview

JSON schema structured output format options.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#descriptionString

A description of the JSON schema.

Returns:

  • (String)


3630
3631
3632
3633
3634
3635
3636
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 3630

class JsonSchemaDefinition < Struct.new(
  :schema,
  :name,
  :description)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

The name of the JSON schema.

Returns:

  • (String)


3630
3631
3632
3633
3634
3635
3636
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 3630

class JsonSchemaDefinition < Struct.new(
  :schema,
  :name,
  :description)
  SENSITIVE = []
  include Aws::Structure
end

#schemaString

The JSON schema to constrain the model’s output. For more information, see [JSON Schema Reference].

[1]: json-schema.org/understanding-json-schema/reference

Returns:

  • (String)


3630
3631
3632
3633
3634
3635
3636
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 3630

class JsonSchemaDefinition < Struct.new(
  :schema,
  :name,
  :description)
  SENSITIVE = []
  include Aws::Structure
end