Feature Configuration
The FeatureConfig class controls which features are enabled in Pipelex.
Configuration Options
class FeatureConfig(ConfigModel):
is_reporting_enabled: bool
Fields
is_reporting_enabled: When true, enables the reporting system
Impact on Dependency Injection
The feature flags directly affect which implementation is used for certain components:
| Feature Flag | When True | When False |
|---|---|---|
is_reporting_enabled |
ReportingManager |
ReportingNoOp |
Feature Details
Reporting
is_reporting_enabled = true
- Controls whether reporting functionality is enabled
- When enabled, generates the cost report of the pipelex execution (LLM costs, OCR costs, etc...)
- Default:
true
Example Configuration
[pipelex.feature_config]
# Enable reporting for cost monitoring
is_reporting_enabled = true