RagFileTransformationConfig.fromJson constructor
RagFileTransformationConfig.fromJson(
- Object? j
Implementation
factory RagFileTransformationConfig.fromJson(Object? j) {
final json = j as Map<String, Object?>;
return RagFileTransformationConfig(
ragFileChunkingConfig: switch (json['ragFileChunkingConfig']) {
null => null,
Object $1 => RagFileChunkingConfig.fromJson($1),
},
);
}