/AWS1/CL_BDRSEARCHRESULTBLOCK¶
A search result block that enables natural citations with proper source attribution for retrieved content.
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.
CONSTRUCTOR¶
IMPORTING¶
Required arguments:¶
iv_source TYPE /AWS1/BDRSTRING /AWS1/BDRSTRING¶
The source URL or identifier for the content.
iv_title TYPE /AWS1/BDRSTRING /AWS1/BDRSTRING¶
A descriptive title for the search result.
it_content TYPE /AWS1/CL_BDRSRCHRSLTCONTBLOCK=>TT_SEARCHRESULTCONTENTBLOCKS TT_SEARCHRESULTCONTENTBLOCKS¶
An array of search result content block.
Optional arguments:¶
io_citations TYPE REF TO /AWS1/CL_BDRCITATIONSCONFIG /AWS1/CL_BDRCITATIONSCONFIG¶
Configuration setting for citations
Queryable Attributes¶
source¶
The source URL or identifier for the content.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_SOURCE() |
Getter for SOURCE, with configurable default |
ASK_SOURCE() |
Getter for SOURCE w/ exceptions if field has no value |
HAS_SOURCE() |
Determine if SOURCE has a value |
title¶
A descriptive title for the search result.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_TITLE() |
Getter for TITLE, with configurable default |
ASK_TITLE() |
Getter for TITLE w/ exceptions if field has no value |
HAS_TITLE() |
Determine if TITLE has a value |
content¶
An array of search result content block.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_CONTENT() |
Getter for CONTENT, with configurable default |
ASK_CONTENT() |
Getter for CONTENT w/ exceptions if field has no value |
HAS_CONTENT() |
Determine if CONTENT has a value |
citations¶
Configuration setting for citations
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_CITATIONS() |
Getter for CITATIONS |