Add document analysis: page count, text extraction & language detection
Some checks failed
Build and Push Docker Image / build (push) Failing after 11s
Some checks failed
Build and Push Docker Image / build (push) Failing after 11s
Introduces a document analyzer service that extracts page count (via pdf-parse), text preview, and detected language (via franc) from uploaded files. Analysis runs automatically on upload (configurable via SystemSettings) and can be triggered retroactively for existing files. Results are displayed as badges in the FileViewer and fed to AI screening for language-based filtering criteria. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
-- AlterTable
|
||||
ALTER TABLE "ProjectFile" ADD COLUMN "textPreview" TEXT;
|
||||
ALTER TABLE "ProjectFile" ADD COLUMN "detectedLang" TEXT;
|
||||
ALTER TABLE "ProjectFile" ADD COLUMN "langConfidence" DOUBLE PRECISION;
|
||||
ALTER TABLE "ProjectFile" ADD COLUMN "analyzedAt" TIMESTAMP(3);
|
||||
Reference in New Issue
Block a user