Simple Batch EngineΒΆ
Reference batch-aware engine used in tutorials and tests.
ClassesΒΆ
SimpleBatchEngine ΒΆ
Bases: EngineComponent
Example engine that processes items individually or in batches.
evaluate
is used when the agent is invoked directly without BatchSpec.evaluate_batch
is triggered when BatchSpec flushes accumulated artifacts.
The engine simply annotates each item with the current batch size so tests can verify that all artifacts were processed together.