Skip to content

fix KBChunker recursive chunker initialization error#478

Merged
ZhaoyangHan04 merged 2 commits intoOpenDCAI:mainfrom
AirAgentSDE:fix/recursive-KBChunker
Feb 27, 2026
Merged

fix KBChunker recursive chunker initialization error#478
ZhaoyangHan04 merged 2 commits intoOpenDCAI:mainfrom
AirAgentSDE:fix/recursive-KBChunker

Conversation

@AirAgentSDE
Copy link
Contributor

This is a bug fix which I 've already mentioned in WeChat Group.
Refer to Chonkie doc:
Chonkie
as the doc specified, recursive chunker doesn't take parameter "chunk_overlap" when initialize, it will cause error like "unexpected parameter" and fail the operator.
The change apply to both batch script and non-batch script of kbc-chunk-generator.

Copy link
Contributor

@ZhaoyangHan04 ZhaoyangHan04 left a comment

Choose a reason for hiding this comment

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

Thanks for pointing out this Chunker usage error. This should be due to insufficient unittests. We will keep on working it. Appreciate it!

@ZhaoyangHan04 ZhaoyangHan04 merged commit 46aae28 into OpenDCAI:main Feb 27, 2026
9 checks passed
@SunnyHaze
Copy link
Collaborator

Sorry for missing this earlier — the group messages were a bit overwhelming, and we overlooked it. Thanks for the reminder, and the PR has already been merged.

@AirAgentSDE AirAgentSDE deleted the fix/recursive-KBChunker branch March 5, 2026 06:19
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