TaskChunk constructor
TaskChunk({
- required String taskId,
- required ChunkSource source,
- int maxChunkSize = 500,
- int maxPostOverlap = 100,
- int embedBatchSize = 25,
- int chunkBatchSize = 100,
- int? distillationFactor,
- int? lastChunk,
- bool chunkingFinished = false,
- required String destinationCollection,
- required String record,
- required String bucket,
- 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 {},
});