Registry

This module contains functionality related to the the registry module for augmentation.components.postprocessors.

Registry

PostprocessorRegistry

Bases: Registry

Registry for managing postprocessors in the RAG pipeline.

This registry uses PostProcessorName as the key class to identify and retrieve different postprocessor implementations. Postprocessors are components that perform final transformations on data after the main processing is complete.

Attributes:
  • _key_class (Type) –

    The class type used for registry keys, set to PostProcessorName.

Source code in src/augmentation/components/postprocessors/registry.py
 9
10
11
12
13
14
15
16
17
18
19
20
21
class PostprocessorRegistry(Registry):
    """
    Registry for managing postprocessors in the RAG pipeline.

    This registry uses PostProcessorName as the key class to identify and retrieve
    different postprocessor implementations. Postprocessors are components that perform
    final transformations on data after the main processing is complete.

    Attributes:
        _key_class (Type): The class type used for registry keys, set to PostProcessorName.
    """

    _key_class: Type = PostProcessorName