RagFileTransformationConfig.fromJson constructor

RagFileTransformationConfig.fromJson(
  1. 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),
    },
  );
}