DocumentAttributeBoostingConfiguration
Provides information on boosting supported Amazon Q document attribute types. When an end user chat query matches document attributes that have been boosted, Amazon Q prioritizes generating responses from content that matches the boosted document attributes.
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, see Boosting using document attributes.
Inheritors
Types
Provides information on boosting DATE
type document attributes.
Provides information on boosting NUMBER
type document attributes.
Provides information on boosting STRING
type document attributes.
Provides information on boosting STRING_LIST
type document attributes.
Functions
Casts this DocumentAttributeBoostingConfiguration as a DateConfiguration and retrieves its aws.sdk.kotlin.services.qbusiness.model.DateAttributeBoostingConfiguration value. Throws an exception if the DocumentAttributeBoostingConfiguration is not a DateConfiguration.
Casts this DocumentAttributeBoostingConfiguration as a DateConfiguration and retrieves its aws.sdk.kotlin.services.qbusiness.model.DateAttributeBoostingConfiguration value. Returns null if the DocumentAttributeBoostingConfiguration is not a DateConfiguration.
Casts this DocumentAttributeBoostingConfiguration as a NumberConfiguration and retrieves its aws.sdk.kotlin.services.qbusiness.model.NumberAttributeBoostingConfiguration value. Throws an exception if the DocumentAttributeBoostingConfiguration is not a NumberConfiguration.
Casts this DocumentAttributeBoostingConfiguration as a NumberConfiguration and retrieves its aws.sdk.kotlin.services.qbusiness.model.NumberAttributeBoostingConfiguration value. Returns null if the DocumentAttributeBoostingConfiguration is not a NumberConfiguration.
Casts this DocumentAttributeBoostingConfiguration as a StringConfiguration and retrieves its aws.sdk.kotlin.services.qbusiness.model.StringAttributeBoostingConfiguration value. Throws an exception if the DocumentAttributeBoostingConfiguration is not a StringConfiguration.
Casts this DocumentAttributeBoostingConfiguration as a StringConfiguration and retrieves its aws.sdk.kotlin.services.qbusiness.model.StringAttributeBoostingConfiguration value. Returns null if the DocumentAttributeBoostingConfiguration is not a StringConfiguration.
Casts this DocumentAttributeBoostingConfiguration as a StringListConfiguration and retrieves its aws.sdk.kotlin.services.qbusiness.model.StringListAttributeBoostingConfiguration value. Throws an exception if the DocumentAttributeBoostingConfiguration is not a StringListConfiguration.
Casts this DocumentAttributeBoostingConfiguration as a StringListConfiguration and retrieves its aws.sdk.kotlin.services.qbusiness.model.StringListAttributeBoostingConfiguration value. Returns null if the DocumentAttributeBoostingConfiguration is not a StringListConfiguration.