Class: Aws::Bedrock::Types::AutomatedReasoningPolicyAnnotatedContent

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

Overview

Note:

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

Represents a content element within an annotated chunk. This union type allows for different types of content elements to be included in document chunks, such as individual lines of text with their line numbers.

Direct Known Subclasses

Line, Unknown

Defined Under Namespace

Classes: Line, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#lineTypes::AutomatedReasoningPolicyAnnotatedLine

An annotated line of text from the source document, including both the line number and the text content.



816
817
818
819
820
821
822
823
824
825
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 816

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

  class Line < AutomatedReasoningPolicyAnnotatedContent; end
  class Unknown < AutomatedReasoningPolicyAnnotatedContent; end
end

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



816
817
818
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 816

def unknown
  @unknown
end