We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4653c02 commit c1bd8e4Copy full SHA for c1bd8e4
text_extract_api/extract/strategies/docling.py
@@ -1,9 +1,10 @@
1
from text_extract_api.extract.extract_result import ExtractResult
2
from text_extract_api.extract.strategies.strategy import Strategy
3
from text_extract_api.files.file_formats import FileFormat, PdfFileFormat
4
-from docling import DoclingDocument # Assuming a compatible Docling library or module
+from docling_core.types.doc.document import DoclingDocument # Assuming a compatible Docling library or module
5
import tempfile
6
7
+
8
class DoclingStrategy(Strategy):
9
"""
10
Extraction strategy for processing PDF documents using Docling.
0 commit comments