Class: Aws::BedrockRuntime::Types::DocumentCharLocation

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

Overview

Specifies a character-level location within a document, providing precise positioning information for cited content using start and end character indices.

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)


1269
1270
1271
1272
1273
1274
1275
# File 'gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/types.rb', line 1269

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

#endInteger

The ending character position of the cited content within the document.

Returns:

  • (Integer)


1269
1270
1271
1272
1273
1274
1275
# File 'gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/types.rb', line 1269

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

#startInteger

The starting character position of the cited content within the document.

Returns:

  • (Integer)


1269
1270
1271
1272
1273
1274
1275
# File 'gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/types.rb', line 1269

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