RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.
Go agent-harnessagent-native-databaseagentic-aiagentic-retrievalagentic-searchaiai-agentscontext-enginecontext-engineeringcontext-managementharness-engineeringknowledge-compilationragretrieval-augmented-generationretrieval-harnesssearch-harness
pypdf2 to pypdf (#1684)
Kevin Hu100b3165d8ba
diff --git a/deepdoc/parser/pdf_parser.py b/deepdoc/parser/pdf_parser.pyindex 29947f7d93..909b89d5cc 100644--- a/deepdoc/parser/pdf_parser.py+++ b/deepdoc/parser/pdf_parser.py@@ -23,7 +23,7 @@ import loggingfrom PIL import Image, ImageDrawimport numpy as npfrom timeit import default_timer as timer-from PyPDF2 import PdfReader as pdf2_read+from pypdf import PdfReader as pdf2_readfrom api.utils.file_utils import get_project_base_directoryfrom deepdoc.vision import OCR, Recognizer, LayoutRecognizer, TableStructureRecognizerdiff --git a/requirements.txt b/requirements.txtindex e50d7f86cc..1752b7759a 100644--- a/requirements.txt+++ b/requirements.txt@@ -79,3 +79,4 @@ word2number==1.1xgboost==2.1.0xpinyin==0.7.6zhipuai==2.0.1+pypdf==4.3.0diff --git a/requirements_arm.txt b/requirements_arm.txtindex 3650ca538d..1a8f6a137e 100644--- a/requirements_arm.txt+++ b/requirements_arm.txt@@ -153,3 +153,4 @@ groq==0.9.0wikipedia==1.4.0Bio==1.7.1arxiv==2.1.3+pypdf==4.3.0diff --git a/requirements_dev.txt b/requirements_dev.txtindex ee08297370..f518cab644 100644--- a/requirements_dev.txt+++ b/requirements_dev.txt@@ -138,3 +138,4 @@ groq==0.9.0wikipedia==1.4.0Bio==1.7.1arxiv==2.1.3+pypdf==4.3.0