PDF Generation
Generate synthetic PDF documents and upload them to Unity Catalog volumes for RAG testing and evaluation.
Example prompts
Section titled “Example prompts”“Generate 10 HR policy PDFs and upload them to my raw_data volume”
“Create a single API authentication guide PDF with a question and guideline for RAG evaluation”
generate_and_upload_pdf
Section titled “generate_and_upload_pdf”Description: Convert complete HTML (with styles) to PDF and upload to Unity Catalog volume.
Parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
html_content | str | Yes | — |
filename | str | Yes | — |
catalog | str | Yes | — |
schema | str | Yes | — |
volume | str | No | — |
folder | Optional[str] | No | — |