Class: Aws::BedrockRuntime::Types::SearchResultLocation

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

Overview

Specifies a search result location within the content array, providing positioning information for cited content using search result index and block positions.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#endInteger

The ending position in the content array where the cited content ends.

Returns:

  • (Integer)


3912
3913
3914
3915
3916
3917
3918
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 3912

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

#search_result_indexInteger

The index of the search result content block where the cited content is found.

Returns:

  • (Integer)


3912
3913
3914
3915
3916
3917
3918
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 3912

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

#startInteger

The starting position in the content array where the cited content begins.

Returns:

  • (Integer)


3912
3913
3914
3915
3916
3917
3918
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 3912

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