Skip to content

DocumentAttributeBoostingConfigurationDict

Union Type

DocumentAttributeBoostingConfigurationDict module-attribute

Dictionary form of DocumentAttributeBoostingConfiguration, setting exactly one variant.

Union Member Types

DocumentAttributeBoostingConfigurationNumberConfigurationDict

Bases: TypedDict

Attributes

number_configuration instance-attribute

Provides information on boosting NUMBER type document attributes.

NUMBER attributes are not supported when using NativeIndexConfiguration version 2, which focuses on DATE attributes for recency and STRING attributes for source prioritization.

DocumentAttributeBoostingConfigurationStringConfigurationDict

Bases: TypedDict

Attributes

string_configuration instance-attribute

Provides information on boosting STRING type document attributes.

Version 2 assigns priority tiers to STRING attributes, establishing clear hierarchical relationships with other boosted attributes.

DocumentAttributeBoostingConfigurationDateConfigurationDict

Bases: TypedDict

Attributes

date_configuration instance-attribute

Provides information on boosting DATE type document attributes.

Version 2 assigns priority tiers to DATE attributes, establishing clear hierarchical relationships with other boosted attributes.

DocumentAttributeBoostingConfigurationStringListConfigurationDict

Bases: TypedDict

Attributes

string_list_configuration instance-attribute

Provides information on boosting STRING_LIST type document attributes.

STRING_LIST attributes are not supported when using NativeIndexConfiguration version 2, which focuses on DATE attributes for recency and STRING attributes for source prioritization.