scoreTargets method

Future<ScoringRun> scoreTargets(
  1. String prompt,
  2. List<String> targets, {
  3. CancelSignal? cancel,
})

Refused on the web: @litert-lm/core has no text scoring and no rewind.

Implementation

Future<ScoringRun> scoreTargets(
  String prompt,
  List<String> targets, {
  CancelSignal? cancel,
}) async => throw UnsupportedError(
  'Option scoring does not run on the web: $liteRtLmWebRuntime has no '
  'text scoring and no rewind.',
);