Feat: more model for paddle (#14436)

### What problem does this PR solve?

Feat: more model for paddle
### Type of change


- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
Magicbook1108
2026-04-28 18:07:00 +08:00
committed by GitHub
parent 4e5a093ac5
commit d532151be0
2 changed files with 4 additions and 1 deletions

View File

@@ -41,7 +41,7 @@ except Exception:
from deepdoc.parser.utils import extract_pdf_outlines
AlgorithmType = Literal["PaddleOCR-VL"]
AlgorithmType = Literal["PaddleOCR-VL", "PP-OCRv5", "PP-StructureV3", "PaddleOCR-VL-1.5"]
SectionTuple = tuple[str, ...]
TableTuple = tuple[str, ...]
ParseResult = tuple[list[SectionTuple], list[TableTuple]]

View File

@@ -45,7 +45,10 @@ export interface IModalProps<T> {
}
const algorithmOptions: RAGFlowSelectOptionType[] = [
{ label: 'PaddleOCR-VL-1.5', value: 'PaddleOCR-VL-1.5' },
{ label: 'PaddleOCR-VL', value: 'PaddleOCR-VL' },
{ label: 'PP-OCRv5', value: 'PP-OCRv5' },
{ label: 'PP-StructureV3', value: 'PP-StructureV3' },
];
const PaddleOCRModal = ({