Skip to content

Support generated JSON and XML exports - #1152

Merged
paullizer merged 3 commits into
Developmentfrom
paullizer-export-file-framework-json-xml
Aug 4, 2026
Merged

Support generated JSON and XML exports#1152
paullizer merged 3 commits into
Developmentfrom
paullizer-export-file-framework-json-xml

Conversation

@paullizer

Copy link
Copy Markdown
Contributor

Summary

  • Add shared generated-file export helpers for JSON extraction, XML extraction, XML serialization, and output-format normalization.
  • Save valid generated JSON/XML as downloadable chat artifacts instead of persisting large inline output.
  • Add XML artifact support for document Analyze flows and XML output support for durable generated exports.
  • Consolidate XML document processing through the token-aware pipeline.

Validation

  • python -m py_compile application\single_app\functions_generated_file_exports.py application\single_app\functions_tabular_generated_exports.py application\single_app\functions_workflow_runner.py application\single_app\functions_document_analysis.py application\single_app\functions_documents.py application\single_app\route_backend_chats.py functional_tests\test_generated_json_xml_exports.py
  • python functional_tests\test_generated_json_xml_exports.py
  • python functional_tests\test_tabular_background_generated_exports.py
  • git --no-pager diff --check

Refs #1071

paullizer and others added 2 commits August 4, 2026 12:25
Expand the generated export artifact framework to capture valid JSON and XML outputs as downloadable chat artifacts, add XML serialization for durable generated exports, and consolidate XML document processing through the token-aware pipeline. Refs #1071.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Document the generated JSON and XML export artifact work under version 0.250.113. Refs #1071.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Comment thread application/single_app/functions_generated_file_exports.py Fixed
Comment thread application/single_app/functions_generated_file_exports.py Fixed
Resolve GitHub Advanced Security feedback by removing the code-fence regex and validating generated XML with defusedxml. Update versioned tests and release notes for the security fix. Refs #1071.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@paullizer
paullizer merged commit ea2507c into Development Aug 4, 2026
12 checks passed
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.

2 participants