NVIDIA / NVIDIA/NeMo-Retriever
[FEA]: to_markdown/to_markdown_by_page should differentiate by distinct document ingested
@jioffe502 is already working on this.
Since Mar 14, 2026.
- Dominant language
- Python
- Stars
- 3k
- Forks
- 349
- Avg merge
- 1d 23h
- Merged PRs (30d)
- 116
Description
Is this a new feature, an improvement, or a change to existing functionality?
New Feature
How would you describe the priority of this feature request
Significant improvement
Please provide a clear description of problem this feature solves
Using the snippet, if you ingest a single document, the markdown conversion makes sense.
However, if your ingestion job contained multiple documents, there's no way to differentiate returns for different documents
For example, if you ingest multimodal_test.pdf and an additional single page PDF, to_markdown_by_page will return what looks like a representation of a 4 page single document.
Describe the feature, and optionally a solution or implementation and any alternatives
Both to_markdown and to_markdown_by page should probably include a source_filename field by which chunks are grouped.
Additional context
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.