toJson method

  1. @override
Object toJson()

Implementation

@override
Object toJson() => {
  'gcsSource': ?gcsSource?.toJson(),
  'googleDriveSource': ?googleDriveSource?.toJson(),
  'slackSource': ?slackSource?.toJson(),
  'jiraSource': ?jiraSource?.toJson(),
  'sharePointSources': ?sharePointSources?.toJson(),
  'partialFailureGcsSink': ?partialFailureGcsSink?.toJson(),
  'partialFailureBigquerySink': ?partialFailureBigquerySink?.toJson(),
  'importResultGcsSink': ?importResultGcsSink?.toJson(),
  'importResultBigquerySink': ?importResultBigquerySink?.toJson(),
  'ragFileChunkingConfig': ?ragFileChunkingConfig?.toJson(),
  'ragFileTransformationConfig': ?ragFileTransformationConfig?.toJson(),
  'ragFileParsingConfig': ?ragFileParsingConfig?.toJson(),
  'ragFileMetadataConfig': ?ragFileMetadataConfig?.toJson(),
  if (maxEmbeddingRequestsPerMin.isNotDefault)
    'maxEmbeddingRequestsPerMin': maxEmbeddingRequestsPerMin,
  if (globalMaxEmbeddingRequestsPerMin.isNotDefault)
    'globalMaxEmbeddingRequestsPerMin': globalMaxEmbeddingRequestsPerMin,
  if (rebuildAnnIndex.isNotDefault) 'rebuildAnnIndex': rebuildAnnIndex,
};