.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. |
||
|---|---|---|
| .. | ||
| controllers | ||
| exceptions | ||
| jobs | ||
| middleware | ||
| models | ||
| services | ||
| utils | ||
| validators | ||