Transforms complex documents like PDFs and Office docs into LLM-ready markdown/JSON for your Agentic workflows.
Python ai4sciencedocument-analysisdocxextract-datalayout-analysisocrparserpdfpdf-converterpdf-extractor-llmpdf-extractor-pretrainpdf-extractor-ragpdf-parserpptxpythonxlsx
feat: queue loading
dechen lin21945ffc8c24
diff --git a/projects/web/package.json b/projects/web/package.jsonindex 9acd4c67..2b135258 100644--- a/projects/web/package.json+++ b/projects/web/package.json@@ -52,6 +52,7 @@"eslint-plugin-react-hooks": "^5.1.0-rc.0","eslint-plugin-react-refresh": "^0.4.9","globals": "^15.9.0",+ "less": "^4.2.0","postcss": "^8.4.41","sass-embedded": "^1.77.8","tailwindcss": "^3.4.10",diff --git a/projects/web/src/pages/extract/components/pdf-extraction/index.tsx b/projects/web/src/pages/extract/components/pdf-extraction/index.tsxindex c2f5e6f2..8f907e14 100644--- a/projects/web/src/pages/extract/components/pdf-extraction/index.tsx+++ b/projects/web/src/pages/extract/components/pdf-extraction/index.tsx@@ -21,13 +21,12 @@ interface IPdfExtractionProps {}const PdfExtraction = ({ className = "" }: IPdfExtractionProps) => {- const newData = useJobExtraction();const {refreshQueue,taskInfo,isLoading: queueLoading,isError: compileError,- } = newData;+ } = useJobExtraction();const [pdfState, setPdfState] = useState({page: 1,diff --git a/projects/web/src/store/jobProgress.ts b/projects/web/src/store/jobProgress.tsindex 1e32c5f7..bb08d694 100644--- a/projects/web/src/store/jobProgress.ts+++ b/projects/web/src/store/jobProgress.ts@@ -103,6 +103,9 @@ export const useJobExtraction = () => {} else {setIsPolling(false);setQueueLoading(false);+ getExtractTaskIdProgress(jobID!).then((res) => {+ setTaskInfo(res as any);+ });}}