Postprocessors_configuration
This module contains functionality related to the the postprocessors_configuration
module for augmentation.bootstrap.configuration.components
.
Postprocessors_configuration
PostProcessorConfiguration
Bases: BaseConfiguration
Base configuration for post-processors.
Post-processors refine search results after initial retrieval to improve relevance and quality. Each post-processor implementation should inherit from this class and add its specific configuration parameters.
Source code in src/augmentation/bootstrap/configuration/components/postprocessors_configuration.py
19 20 21 22 23 24 25 26 27 28 29 |
|
PostProcessorConfigurationRegistry
Bases: ConfigurationRegistry
Registry for post-processor configurations.
This registry maintains a collection of available post-processor configurations and provides methods for retrieving them based on the PostProcessorName.
Attributes: |
|
---|
Source code in src/augmentation/bootstrap/configuration/components/postprocessors_configuration.py
32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 |
|
get_union_type()
classmethod
Returns the union type of all registered post-processor configurations.
This method is used for type validation and dynamic configuration loading, allowing the system to work with any of the registered post-processor types.
Returns: |
|
---|
Source code in src/augmentation/bootstrap/configuration/components/postprocessors_configuration.py
44 45 46 47 48 49 50 51 52 53 54 |
|
PostProcessorName
Bases: str
, Enum
Enumeration of supported post-processor names.
These identify the different post-processing options available for refining search results.
Source code in src/augmentation/bootstrap/configuration/components/postprocessors_configuration.py
10 11 12 13 14 15 16 |
|