-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PDF and DOCX support in Write File - Feature Improvement, close #548 #1268
base: dev
Are you sure you want to change the base?
PDF and DOCX support in Write File - Feature Improvement, close #548 #1268
Conversation
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## dev #1268 +/- ##
==========================================
- Coverage 58.93% 58.88% -0.05%
==========================================
Files 228 229 +1
Lines 11028 11129 +101
Branches 1182 1194 +12
==========================================
+ Hits 6499 6553 +54
- Misses 4199 4245 +46
- Partials 330 331 +1
☔ View full report in Codecov by Sentry. |
@luciferlinx101, @Fluder-Paradyne, and @TransformerOptimus This PR was recreated after the dev was reverted, have added all the features related to the previous Feature Update. Have a look. |
@luciferlinx101 @Fluder-Paradyne and @TransformerOptimus A gentle reminder to review the PR. Thanks |
Description
The Write File Tool can now support writing the results and discussions in a PDF or a DOCX file, with proper formatting and images embedded.
Related Issues
#548
Solution and Design
Libraries called pdfkit and htmldocx are being leveraged to do the writing process.
The content initially used to be stored in a Txt file using the write tool is formatted and styled through an HTML file using an LLM.
Images generated by the agent are extracted and embedded in the same HTML file.
This HTML file is now stored in various formats like PDF & DOCX.
Test Plan
Asking the Agent to store the results in a PDF or DOCX file.
Navigate to the workspace folder to find the generated PDF or DOCX.
Type of change
Checklist