Class: Aws::BedrockRuntime::Types::DocumentChunkLocation

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

Overview

Specifies a chunk-level location within a document, providing positioning information for cited content using logical document segments or chunks.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#document_indexInteger

The index of the document within the array of documents provided in the request.

Returns:

  • (Integer)


1298
1299
1300
1301
1302
1303
1304
# File 'gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/types.rb', line 1298

class DocumentChunkLocation < Struct.new(
  :document_index,
  :start,
  :end)
  SENSITIVE = []
  include Aws::Structure
end

#endInteger

The ending chunk identifier or index of the cited content within the document.

Returns:

  • (Integer)


1298
1299
1300
1301
1302
1303
1304
# File 'gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/types.rb', line 1298

class DocumentChunkLocation < Struct.new(
  :document_index,
  :start,
  :end)
  SENSITIVE = []
  include Aws::Structure
end

#startInteger

The starting chunk identifier or index of the cited content within the document.

Returns:

  • (Integer)


1298
1299
1300
1301
1302
1303
1304
# File 'gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/types.rb', line 1298

class DocumentChunkLocation < Struct.new(
  :document_index,
  :start,
  :end)
  SENSITIVE = []
  include Aws::Structure
end