Feat: add Docling parser (#10759)

### What problem does this PR solve?
issue:
#3945
change:
add Docling parser

### Type of change

- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
buua436
2025-10-23 19:44:25 +08:00
committed by GitHub
parent de24e74b4c
commit 0ff2042fc1
5 changed files with 378 additions and 0 deletions

View File

@ -18,6 +18,7 @@ export const enum ParseDocumentType {
DeepDOC = 'DeepDOC',
PlainText = 'Plain Text',
MinerU = 'MinerU',
Docling = 'Docling',
}
export function LayoutRecognizeFormField({
@ -43,6 +44,7 @@ export function LayoutRecognizeFormField({
ParseDocumentType.DeepDOC,
ParseDocumentType.PlainText,
ParseDocumentType.MinerU,
ParseDocumentType.Docling,
].map((x) => ({
label: x === ParseDocumentType.PlainText ? t(camelCase(x)) : x,
value: x,