Class: Aws::BedrockRuntime::Types::SearchResultBlock

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

Overview

A search result block that enables natural citations with proper source attribution for retrieved content.

<note markdown=“1”> This field is only supported by Anthropic Claude Opus 4.1, Opus 4, Sonnet 4.5, Sonnet 4, Sonnet 3.7, and 3.5 Haiku models.

</note>

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#citationsTypes::CitationsConfig

Configuration setting for citations



3868
3869
3870
3871
3872
3873
3874
3875
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 3868

class SearchResultBlock < Struct.new(
  :source,
  :title,
  :content,
  :citations)
  SENSITIVE = []
  include Aws::Structure
end

#contentArray<Types::SearchResultContentBlock>

An array of search result content block.



3868
3869
3870
3871
3872
3873
3874
3875
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 3868

class SearchResultBlock < Struct.new(
  :source,
  :title,
  :content,
  :citations)
  SENSITIVE = []
  include Aws::Structure
end

#sourceString

The source URL or identifier for the content.

Returns:

  • (String)


3868
3869
3870
3871
3872
3873
3874
3875
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 3868

class SearchResultBlock < Struct.new(
  :source,
  :title,
  :content,
  :citations)
  SENSITIVE = []
  include Aws::Structure
end

#titleString

A descriptive title for the search result.

Returns:

  • (String)


3868
3869
3870
3871
3872
3873
3874
3875
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 3868

class SearchResultBlock < Struct.new(
  :source,
  :title,
  :content,
  :citations)
  SENSITIVE = []
  include Aws::Structure
end