CactusResult constructor

CactusResult({
  1. required String text,
  2. required int tokensPredicted,
  3. required int tokensEvaluated,
  4. required bool truncated,
  5. required bool stoppedEos,
  6. required bool stoppedWord,
  7. required bool stoppedLimit,
  8. required String stoppingWord,
})

Implementation

CactusResult({
  required this.text,
  required this.tokensPredicted,
  required this.tokensEvaluated,
  required this.truncated,
  required this.stoppedEos,
  required this.stoppedWord,
  required this.stoppedLimit,
  required this.stoppingWord,
});