* fix(rag): add proper .docx text extraction via mammoth .docx files were classified as plain text and routed through raw-text extraction (extractTXTText). Since .docx is a ZIP archive containing XML, this produced garbage content in the Knowledge Base — XML tags and binary noise instead of the actual document text. Adds a dedicated 'docx' file type (split out of the generic 'text' bucket in determineFileType) and a mammoth-based extractor that parses the document XML properly. * fix: clean up package-lock.json diff * chore(deps): pin mammoth version --------- Co-authored-by: John Cortright <jcortright@zscaler.com> Co-authored-by: jakeaturner <jturner@cosmistack.com> |
||
|---|---|---|
| .. | ||
| content_auto_update_backoff.ts | ||
| content_reindex_decision.ts | ||
| downloads.ts | ||
| fs.ts | ||
| image_disk_preflight.ts | ||
| kb_ingest_decision.ts | ||
| kb_job_health.ts | ||
| kb_ratio_lookup.ts | ||
| kb_warning_decision.ts | ||
| misc.ts | ||
| superseded_resource.ts | ||
| update_window.ts | ||
| version.ts | ||
| zim_filename.ts | ||
| zim_html.ts | ||