Class: Aws::Bedrock::Types::AutomatedReasoningPolicyReportSourceDocument

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

Overview

Represents a source document that was analyzed during fidelity report generation, including the document's metadata and its content broken down into atomic statements.

Constant Summary collapse

SENSITIVE =
[:document_name]

Instance Attribute Summary collapse

Instance Attribute Details

#atomic_statements ⇒ Array<Types::AutomatedReasoningPolicyAtomicStatement>

The list of atomic statements extracted from this document, representing the fundamental units of meaning used for grounding.



2087
2088
2089
2090
2091
2092
2093
2094
2095
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 2087

class AutomatedReasoningPolicyReportSourceDocument < Struct.new(
  :document_name,
  :document_hash,
  :document_id,
  :atomic_statements,
  :document_content)
  SENSITIVE = [:document_name]
  include Aws::Structure
end

#document_content ⇒ Array<Types::AutomatedReasoningPolicyAnnotatedChunk>

The document's content organized into annotated chunks with line number information for precise referencing.



2087
2088
2089
2090
2091
2092
2093
2094
2095
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 2087

class AutomatedReasoningPolicyReportSourceDocument < Struct.new(
  :document_name,
  :document_hash,
  :document_id,
  :atomic_statements,
  :document_content)
  SENSITIVE = [:document_name]
  include Aws::Structure
end

#document_hash ⇒ String

A SHA-256 hash of the document content, used for verification and ensuring the document hasn't changed since analysis.

Returns:

  • (String)


2087
2088
2089
2090
2091
2092
2093
2094
2095
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 2087

class AutomatedReasoningPolicyReportSourceDocument < Struct.new(
  :document_name,
  :document_hash,
  :document_id,
  :atomic_statements,
  :document_content)
  SENSITIVE = [:document_name]
  include Aws::Structure
end

#document_id ⇒ String

A unique identifier for this document within the fidelity report.

Returns:

  • (String)


2087
2088
2089
2090
2091
2092
2093
2094
2095
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 2087

class AutomatedReasoningPolicyReportSourceDocument < Struct.new(
  :document_name,
  :document_hash,
  :document_id,
  :atomic_statements,
  :document_content)
  SENSITIVE = [:document_name]
  include Aws::Structure
end

#document_name ⇒ String

The name of the source document that was analyzed.

Returns:

  • (String)


2087
2088
2089
2090
2091
2092
2093
2094
2095
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 2087

class AutomatedReasoningPolicyReportSourceDocument < Struct.new(
  :document_name,
  :document_hash,
  :document_id,
  :atomic_statements,
  :document_content)
  SENSITIVE = [:document_name]
  include Aws::Structure
end