Interface RagIngestionResult

Result of an ingestion attempt.

interface RagIngestionResult {
    processedCount: number;
    failedCount: number;
    ingestedIds?: string[];
    errors?: {
        documentId?: string;
        chunkId?: string;
        message: string;
        details?: unknown;
    }[];
    jobId?: string;
    effectiveDataSourceIds?: string[];
}

Properties

processedCount: number
failedCount: number
ingestedIds?: string[]
errors?: {
    documentId?: string;
    chunkId?: string;
    message: string;
    details?: unknown;
}[]

Type declaration

  • Optional documentId?: string
  • Optional chunkId?: string
  • message: string
  • Optional details?: unknown
jobId?: string
effectiveDataSourceIds?: string[]