Spaces:
Running
Running
Commit History
-
Localize upload error messages (VI) + force cache-bust rebuild
- Frontend: clearer Vietnamese error msg listing all supported formats -> changes bundle hash so all cached clients reload - Backend: replace legacy 'Only .csv/.json/.jsonl...' message with Vietnamese listing all formats - No stale 'Only CSV/JSON/JSONL' message remains anywhere9f0f104 -
Fix frontend patch: use array not object literal in new Set() for extension types
839ccab -
Support multi-format uploads (PDF/images/Excel/Word/PPT/ODF/text) with AI text extraction
- Backend: extend ALLOWED_DATASET_EXTENSIONS + BINARY_EXTRACTION_EXTS - Add backend/document_parser.py: extract text from PDF (pypdf), images (pytesseract OCR), XLSX (openpyxl), DOCX (python-docx), PPTX (python-pptx), legacy/ODF via LibreOffice - Inject extracted text as SYSTEM context so text-only LLM backends can understand files - Frontend: widen file accept + extension checks + error message - Dockerfile: install tesseract-ocr(+eng, vie), libreoffice, and python doc deps21c88c7