feat: add .docx upload support with text extraction
- Add DOCX MIME type to ALLOWED_DOCUMENT_TYPES in storage_service.py - Add python-docx text extraction in _generate_ai_description - Extract shared _store_document_content helper for PDF/DOCX - Add python-docx>=1.1.0 to requirements.txt - Add tests for docx upload acceptance and document fetch Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -60,3 +60,6 @@ Pillow>=10.0.0
|
||||
|
||||
# PDF text extraction (upload analysis)
|
||||
pypdf>=4.0.0
|
||||
|
||||
# DOCX text extraction (upload analysis)
|
||||
python-docx>=1.1.0
|
||||
|
||||
Reference in New Issue
Block a user