feat: implement cursor-based delta sync for Dropbox integration, enhancing file indexing efficiency and preserving folder cursors during re-authentication

This commit is contained in:
Anish Sarkar 2026-04-06 18:36:29 +05:30
parent be622c417c
commit b5a15b7681
5 changed files with 249 additions and 18 deletions

View file

@ -111,9 +111,10 @@ class DoclingService:
pipeline_options=pipeline_options, backend=PyPdfiumDocumentBackend
)
# Initialize DocumentConverter
# Initialize DocumentConverter with PDF and IMAGE support
self.converter = DocumentConverter(
format_options={InputFormat.PDF: pdf_format_option}
allowed_formats=[InputFormat.PDF, InputFormat.IMAGE],
format_options={InputFormat.PDF: pdf_format_option},
)
acceleration_type = "GPU (WSL2)" if self.use_gpu else "CPU"