Skip to content

Added Docling Service#38

Open
PrakharG-kore wants to merge 14 commits into
masterfrom
user/prakhar/Docling_service
Open

Added Docling Service#38
PrakharG-kore wants to merge 14 commits into
masterfrom
user/prakhar/Docling_service

Conversation

@PrakharG-kore

Copy link
Copy Markdown

docling service (python)

docling service
@PrakharG-kore PrakharG-kore changed the title Add files via upload Added Docling Service Mar 4, 2025
Comment thread Utilities/DOCLING_SERVICES/app/routes/pdf_processing.py

async def save_and_process_file(file: UploadFile) -> List[Dict]:
"""Save the uploaded file and process it."""
with tempfile.TemporaryDirectory() as temp_dir:

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

create one folder instead of multiple folders and save the file in that global folder and delete the file once the process is completed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants