File size: 339 Bytes
557ee65
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
from core.pipeline.step import PipelineStep

class FeatureEngineeringStep(PipelineStep):
    name = "feature_engineering"

    def __init__(self, agent):
        self.agent = agent

    async def run(self, context):
        features_result = self.agent.run(context.runs)
        context.runs = features_result.get("detailed_features", [])