prepare method

Future<void> prepare(
  1. List<String> targets
)

Called once, before the first score, with the decision's targets. An engine checks here what it has to before it can score them exactly (LiteRT-LM finds out how its version scores after a prefill), and fails with DeciderUnsupportedException when it cannot. Nothing by default.

Implementation

Future<void> prepare(List<String> targets) async {}