Interface RAGAuditCollectorOptions

interface RAGAuditCollectorOptions {
    requestId: string;
    query: string;
    seedId?: string;
    sessionId?: string;
    usageLedger?: UsageLedgerLike;
}

Properties

requestId: string
query: string
seedId?: string
sessionId?: string
usageLedger?: UsageLedgerLike

When provided, finalized audit data is pushed into the usage ledger for token/cost accounting.