FEAT: Extend data exporter to support Markdown (#1033)#1042
Merged
rlundeen2 merged 6 commits intomicrosoft:mainfrom Aug 13, 2025
Merged
FEAT: Extend data exporter to support Markdown (#1033)#1042rlundeen2 merged 6 commits intomicrosoft:mainfrom
rlundeen2 merged 6 commits intomicrosoft:mainfrom
Conversation
Contributor
Author
|
@microsoft-github-policy-service agree |
rlundeen2
approved these changes
Aug 4, 2025
Contributor
rlundeen2
left a comment
There was a problem hiding this comment.
Running tests, but looks good to me if everything passes
Added a newline to `test_memory_exporter.py`. Does this resolve: ``` fix end of files.........................................................Failed - hook id: end-of-file-fixer - exit code: 1 - files were modified by this hook Fixing tests/unit/memory/test_memory_exporter.py
Contributor
Author
|
@rlundeen2 Added a newline to |
Contributor
Hi! some of the pre-commit hooks are failing. See this to fix, and then we can merge it in! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This pull request adds the capability to export conversation data to Markdown format (.md), resolving issue #1033. @romanlutz
The MemoryExporter class has been extended with a new
export_to_markdownmethod and integrated into the mainexport_datafunction. This allows users to generate human-readable reportsof prompt request data directly into a Markdown table, in addition to the existing JSON and CSV formats.
Tests and Documentation
test_export_data_creates_fileintests/unit/memory/test_memory_exporter.py.export_datawithexport_type="md"successfully creates a non-empty output file, ensuring the new export path works as expected.export_to_markdownmethod inpyrit/memory/memory_exporter.py, explaining its purpose, arguments, and potential exceptions.