Skip to content

feat: enable heading-only chunks for empty-section headings#461

Merged
vagenas merged 1 commit intomainfrom
improve-empty-section-chunking
Dec 18, 2025
Merged

feat: enable heading-only chunks for empty-section headings#461
vagenas merged 1 commit intomainfrom
improve-empty-section-chunking

Conversation

@vagenas
Copy link
Member

@vagenas vagenas commented Dec 18, 2025

Adding an option to address cases (e.g. related to docling-project/docling#287) like:

## Section 1

## Section 1.1

## Section 1.1.1

Foo

where currently Section 1 and Section 1.1 are not emitted in any chunk, as they are considered "shadowed" by fellow-level2 Section 1.1.1.

@vagenas vagenas requested a review from dolfim-ibm December 18, 2025 13:04
@github-actions
Copy link
Contributor

DCO Check Passed

Thanks @vagenas, all your commits are properly signed off. 🎉

@dosubot
Copy link

dosubot bot commented Dec 18, 2025

Related Documentation

Checked 8 published document(s) in 1 knowledge base(s). No updates required.

How did I do? Any feedback?  Join Discord

@mergify
Copy link

mergify bot commented Dec 18, 2025

Merge Protections

Your pull request matches the following merge protections and will not be merged until they are valid.

🟢 Enforce conventional commit

Wonderful, this rule succeeded.

Make sure that we follow https://www.conventionalcommits.org/en/v1.0.0/

  • title ~= ^(fix|feat|docs|style|refactor|perf|test|build|ci|chore|revert)(?:\(.+\))?(!)?:

🟢 Require two reviewer for test updates

Wonderful, this rule succeeded.

When test data is updated, we require two reviewers

  • #approved-reviews-by >= 2

@vagenas vagenas requested a review from cau-git December 18, 2025 13:05
Copy link
Member

@dolfim-ibm dolfim-ibm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@vagenas vagenas merged commit 8b082e9 into main Dec 18, 2025
13 checks passed
@vagenas vagenas deleted the improve-empty-section-chunking branch December 18, 2025 13:35
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.

3 participants