mirror of
https://github.com/MODSetter/SurfSense.git
synced 2025-09-09 13:54:40 +00:00
refactor: Remove deprecated document processing services and update imports
- Deleted the document_processing module and its associated docling_service. - Updated imports in documents_routes.py and background_tasks.py to reflect the new service structure. - Ensured compatibility with the task logging system by adjusting type hints for log entries.
This commit is contained in:
parent
621590c049
commit
931fafa403
4 changed files with 7 additions and 6 deletions
|
@ -682,7 +682,7 @@ async def add_received_file_document_using_docling(
|
|||
raise RuntimeError(f"No long context LLM configured for user {user_id}")
|
||||
|
||||
# Generate summary using chunked processing for large documents
|
||||
from app.services.document_processing.docling_service import create_docling_service
|
||||
from app.services.docling_service import create_docling_service
|
||||
docling_service = create_docling_service()
|
||||
|
||||
summary_content = await docling_service.process_large_document_summary(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue