TaskChunk constructor

TaskChunk({
  1. required String taskId,
  2. required ChunkSource source,
  3. int maxChunkSize = 500,
  4. int maxPostOverlap = 100,
  5. int embedBatchSize = 25,
  6. int chunkBatchSize = 100,
  7. int? distillationFactor,
  8. int? lastChunk,
  9. bool chunkingFinished = false,
  10. required String destinationCollection,
  11. required String record,
  12. required String bucket,
  13. Map<String, dynamic> destinationMetadata = const {},
})

Implementation

TaskChunk({
  required this.taskId,
  required this.source,
  this.maxChunkSize = 500,
  this.maxPostOverlap = 100,
  this.embedBatchSize = 25,
  this.chunkBatchSize = 100,
  this.distillationFactor,
  this.lastChunk,
  this.chunkingFinished = false,
  required this.destinationCollection,
  required this.record,
  required this.bucket,
  this.destinationMetadata = const {},
});