Skip to content

Conversation

@sohamsahajwanivolt
Copy link

No description provided.

RishiPrasanthVolt and others added 30 commits February 6, 2025 19:00
added new templates for tata agreement & kfs
tata agreement changed templates
Co-authored-by: akshat-sachan01 <akshat.sachan@voltmoney.com>
Co-authored-by: akshat-sachan01 <akshat.sachan@voltmoney.com>
* Added: KFS term loan template

* Improved TermLoan KFS template

* deleted

* test file added

* Pushed

* Added: KSF & Agreement template

---------

Co-authored-by: akshat-sachan01 <akshat.sachan@voltmoney.com>
Co-authored-by: akshat-sachan01 <akshat.sachan@voltmoney.com>
* TermLoan kFS Doc

* Updated Agreement Doc

---------

Co-authored-by: akshat-sachan01 <akshat.sachan@voltmoney.com>
* TermLoan kFS Doc

* Updated Agreement Doc

* Updated : KFS data

---------

Co-authored-by: akshat-sachan01 <akshat.sachan@voltmoney.com>
* Add & Remove templates

* Add & Remove templates
Changes to main.py:
- Add process_parallel_sections() helper function for parallel processing
- Update /api/v1/process-template-document/docx-to-pdf endpoint to support both:
  * Single file processing (when fileName is provided)
  * Parallel processing (when folderName is provided and fileName is empty)
- Process dynamic DOCX files in parallel using ThreadPoolExecutor
- Load pre-existing static PDF files directly
- Merge all files in correct numerical order using PyPDF2
- Optimize memory usage with explicit cleanup
- Maintain backward compatibility for existing single file processing
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.

9 participants