DocumentAttributeBoostingConfiguration
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.
Note
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.
Contents
Important
This data type is a UNION, so only one of the following members can be specified when used or returned.
- dateConfiguration
-
Provides information on boosting
DATEtype document attributes.Version 2 assigns priority tiers to
DATEattributes, establishing clear hierarchical relationships with other boosted attributes.Type: DateAttributeBoostingConfiguration object
Required: No
- numberConfiguration
-
Provides information on boosting
NUMBERtype document attributes.NUMBERattributes are not supported when usingNativeIndexConfigurationversion 2, which focuses onDATEattributes for recency andSTRINGattributes for source prioritization.Type: NumberAttributeBoostingConfiguration object
Required: No
- stringConfiguration
-
Provides information on boosting
STRINGtype document attributes.Version 2 assigns priority tiers to
STRINGattributes, establishing clear hierarchical relationships with other boosted attributes.Type: StringAttributeBoostingConfiguration object
Required: No
- 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.Type: StringListAttributeBoostingConfiguration object
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: