Class: Aws::QBusiness::Types::NumberAttributeBoostingConfiguration

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

Overview

Provides information on boosting ‘NUMBER` type document attributes.

In the current boosting implementation, boosting focuses primarily on ‘DATE` attributes for recency and `STRING` attributes for source prioritization. `NUMBER` attributes can serve as additional boosting factors when needed, but are not supported when using `NativeIndexConfiguration` version 2.

For more information on how boosting document attributes work in Amazon Q Business, see [Boosting using document attributes].

[1]: docs.aws.amazon.com/amazonq/latest/business-use-dg/metadata-boosting.html

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#boosting_levelString

Specifies the priority of boosted document attributes in relation to other boosted attributes. This parameter determines how strongly the attribute influences document ranking in search results. ‘NUMBER` attributes can serve as additional boosting factors when needed, but are not supported when using `NativeIndexConfiguration` version 2.

Returns:

  • (String)


7162
7163
7164
7165
7166
7167
# File 'lib/aws-sdk-qbusiness/types.rb', line 7162

class NumberAttributeBoostingConfiguration < Struct.new(
  :boosting_level,
  :boosting_type)
  SENSITIVE = []
  include Aws::Structure
end

#boosting_typeString

Specifies whether higher or lower numeric values should be prioritized when boosting. Valid values are ASCENDING (higher numbers are more important) and DESCENDING (lower numbers are more important).

Returns:

  • (String)


7162
7163
7164
7165
7166
7167
# File 'lib/aws-sdk-qbusiness/types.rb', line 7162

class NumberAttributeBoostingConfiguration < Struct.new(
  :boosting_level,
  :boosting_type)
  SENSITIVE = []
  include Aws::Structure
end