[GH-ISSUE #4636] [FEAT]: Implement a better chunking strategy #2947

Closed
opened 2026-02-22 18:31:58 -05:00 by yindo · 1 comment
Owner

Originally created by @mserrano11 on GitHub (Nov 11, 2025).
Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/4636

What would you like to see?

Instead of a fixed-size chunk that might cut into a mid sentence or paragraph, there are alternative chunking methods that respect paragraph or sentence boundaries and improve on the RAG functionality. The Dockling project has a hybrid chunking method ( https://docling-project.github.io/docling/examples/hybrid_chunking/ ) that implements this. It's open source.

Perhaps a user accessible switch in the interface , to make it optional.

Originally created by @mserrano11 on GitHub (Nov 11, 2025). Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/4636 ### What would you like to see? Instead of a fixed-size chunk that might cut into a mid sentence or paragraph, there are alternative chunking methods that respect paragraph or sentence boundaries and improve on the RAG functionality. The Dockling project has a hybrid chunking method ( https://docling-project.github.io/docling/examples/hybrid_chunking/ ) that implements this. It's open source. Perhaps a user accessible switch in the interface , to make it optional.
yindo added the enhancementfeature request labels 2026-02-22 18:31:58 -05:00
yindo closed this issue 2026-02-22 18:31:58 -05:00
Author
Owner

@shatfield4 commented on GitHub (Nov 14, 2025):

Conceptually, this could be a great addition. But, unfortunately Docling is a Python package and would not work with our JS backend inside of AnythingLLM.

@shatfield4 commented on GitHub (Nov 14, 2025): Conceptually, this could be a great addition. But, unfortunately Docling is a Python package and would not work with our JS backend inside of AnythingLLM.
yindo changed title from [FEAT]: Implement a better chunking strategy to [GH-ISSUE #4636] [FEAT]: Implement a better chunking strategy 2026-06-05 14:49:27 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/anything-llm#2947