truncate property

  1. @TagNumber.new(2)
bool get truncate

true = clip an over-long input to the model's context and embed it. false = fail the call. Unset = true. A backend may instead aggregate over a sliding window, which embeds the whole document rather than discarding its tail.

Implementation

@$pb.TagNumber(2)
$core.bool get truncate => $_getBF(0);
  1. @TagNumber.new(2)
set truncate (bool value)

Implementation

@$pb.TagNumber(2)
set truncate($core.bool value) => $_setBool(0, value);