ACEOptimizer

constructor(playbookStoragePath: ResilientPath, onExistingPlaybook: OnExistingPlaybookAction, reflectorModel: LLModel, curatorModel: LLModel, labelExtractor: (datasetItem: TrainSetItem<Input, InputLabel>) -> String)

Parameters

playbookStoragePath

Where the optimized ACEPlaybook is read from and written to.

onExistingPlaybook

How to handle a playbook already present at playbookStoragePath; see OnExistingPlaybookAction.

reflectorModel

Model used to diagnose trajectories into insights.

curatorModel

Model used to convert insights into playbook deltas.

labelExtractor

Extracts the ground-truth label string for a dataset item, fed to the reflector.