/** * Transcript Enricher Implementation. * * LLM-powered extraction of structured facts from session transcripts. * Sends a truncated transcript snippet to the LLM and parses the * JSON response into validated IExtractedFact objects. * * Error Handling: * - Graceful fallback: if the LLM call fails for any reason, returns * an empty result — never blocks session capture. * - Error messages are sanitized (first line only) to avoid logging * raw API response bodies which may contain sensitive data. * * Part of Phase 6C: Enhanced Session Transcript Extraction. */ import type { ILlmGuard } from '../../domain/interfaces/ILlmGuard'; import type { ILogger } from '../../domain/interfaces/ILogger'; import type { ITranscriptEnricher } from '../../domain/interfaces/ITranscriptEnricher'; /** * Create a transcript enricher. * * @param llmGuard - LLM guard for policy-enforced completions * @param logger - Optional logger */ export declare function createTranscriptEnricher(llmGuard: ILlmGuard, logger?: ILogger): ITranscriptEnricher; //# sourceMappingURL=TranscriptEnricher.d.ts.map