SourceRagService constructor
SourceRagService({})
Implementation
SourceRagService({
required this.dbPath,
this.modelPath,
int maxChunkChars = kDefaultMaxChunkChars,
int overlapChars = kDefaultOverlapChars,
this.collectionId = defaultCollectionId,
}) : maxChunkChars = normalizeMaxChunkChars(
maxChunkChars,
context: 'SourceRagService',
),
overlapChars = normalizeOverlapChars(
overlapChars,
context: 'SourceRagService',
);