/AWS1/CL_QQBDOCATTRBOOSTINGC00¶
Provides information on boosting supported Amazon Q Business document attribute types. When an end user chat query matches document attributes that have been boosted, Amazon Q Business prioritizes generating responses from content that matches the boosted document attributes.
In version 2, boosting uses numeric values (ONE, TWO) to indicate priority tiers that establish clear hierarchical relationships between boosted attributes. This allows for more precise control over how different attributes influence search results.
For STRING and STRING_LIST type document attributes to be used for boosting on the console and the API, they must be enabled for search using the DocumentAttributeConfiguration object of the UpdateIndex API. If you haven't enabled searching on these attributes, you can't boost attributes of these data types on either the console or the API.
For more information on how boosting document attributes work in Amazon Q Business, see Boosting using document attributes.
CONSTRUCTOR¶
IMPORTING¶
Optional arguments:¶
io_numberconfiguration TYPE REF TO /AWS1/CL_QQBNOATTRBOOSTINGCONF /AWS1/CL_QQBNOATTRBOOSTINGCONF¶
Provides information on boosting
NUMBERtype document attributes.
NUMBERattributes are not supported when usingNativeIndexConfigurationversion 2, which focuses onDATEattributes for recency andSTRINGattributes for source prioritization.
io_stringconfiguration TYPE REF TO /AWS1/CL_QQBSTRATTRBOOSTINGC00 /AWS1/CL_QQBSTRATTRBOOSTINGC00¶
Provides information on boosting
STRINGtype document attributes.Version 2 assigns priority tiers to
STRINGattributes, establishing clear hierarchical relationships with other boosted attributes.
io_dateconfiguration TYPE REF TO /AWS1/CL_QQBDATEATTRBOOSTING00 /AWS1/CL_QQBDATEATTRBOOSTING00¶
Provides information on boosting
DATEtype document attributes.Version 2 assigns priority tiers to
DATEattributes, establishing clear hierarchical relationships with other boosted attributes.
io_stringlistconfiguration TYPE REF TO /AWS1/CL_QQBSTRLSTATTRBOOSTI00 /AWS1/CL_QQBSTRLSTATTRBOOSTI00¶
Provides information on boosting
STRING_LISTtype document attributes.
STRING_LISTattributes are not supported when usingNativeIndexConfigurationversion 2, which focuses onDATEattributes for recency andSTRINGattributes for source prioritization.
Queryable Attributes¶
numberConfiguration¶
Provides information on boosting
NUMBERtype document attributes.
NUMBERattributes are not supported when usingNativeIndexConfigurationversion 2, which focuses onDATEattributes for recency andSTRINGattributes for source prioritization.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_NUMBERCONFIGURATION() |
Getter for NUMBERCONFIGURATION |
stringConfiguration¶
Provides information on boosting
STRINGtype document attributes.Version 2 assigns priority tiers to
STRINGattributes, establishing clear hierarchical relationships with other boosted attributes.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_STRINGCONFIGURATION() |
Getter for STRINGCONFIGURATION |
dateConfiguration¶
Provides information on boosting
DATEtype document attributes.Version 2 assigns priority tiers to
DATEattributes, establishing clear hierarchical relationships with other boosted attributes.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_DATECONFIGURATION() |
Getter for DATECONFIGURATION |
stringListConfiguration¶
Provides information on boosting
STRING_LISTtype document attributes.
STRING_LISTattributes are not supported when usingNativeIndexConfigurationversion 2, which focuses onDATEattributes for recency andSTRINGattributes for source prioritization.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_STRINGLISTCONFIGURATION() |
Getter for STRINGLISTCONFIGURATION |
Public Local Types In This Class¶
Internal table types, representing arrays and maps of this class, are defined as local types:
TS_DOCATTRBOOSTINGOVE00_MAPROW¶
TYPES: BEGIN OF TS_DOCATTRBOOSTINGOVE00_MAPROW,
key TYPE /AWS1/QQBDOCUMENTATTRIBUTEKEY,
value TYPE REF TO /AWS1/CL_QQBDOCATTRBOOSTINGC00,
END OF TS_DOCATTRBOOSTINGOVE00_MAPROW.
TT_DOCATTRBOOSTINGOVERRIDEMAP¶
TYPES TT_DOCATTRBOOSTINGOVERRIDEMAP TYPE HASHED TABLE OF /AWS1/CL_QQBDOCATTRBOOSTINGC00=>TS_DOCATTRBOOSTINGOVE00_MAPROW WITH UNIQUE KEY key
.